pub struct InstanceMetadataDefaultsArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> InstanceMetadataDefaultsArgsBuilder<S>
impl<S: State> InstanceMetadataDefaultsArgsBuilder<S>
sourcepub fn build_struct(self) -> InstanceMetadataDefaultsArgswhere
S: IsComplete,
pub fn build_struct(self) -> InstanceMetadataDefaultsArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn http_endpoint(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpEndpoint<S>>where
S::HttpEndpoint: IsUnset,
pub fn http_endpoint(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpEndpoint<S>>where
S::HttpEndpoint: IsUnset,
sourcepub fn maybe_http_endpoint(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpEndpoint<S>>where
S::HttpEndpoint: IsUnset,
pub fn maybe_http_endpoint(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpEndpoint<S>>where
S::HttpEndpoint: IsUnset,
sourcepub fn http_put_response_hop_limit(
self,
value: impl Into<Output<Option<i32>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpPutResponseHopLimit<S>>where
S::HttpPutResponseHopLimit: IsUnset,
pub fn http_put_response_hop_limit(
self,
value: impl Into<Output<Option<i32>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpPutResponseHopLimit<S>>where
S::HttpPutResponseHopLimit: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1
to 64
, or -1
to indicate no preference. Default: -1
.
sourcepub fn maybe_http_put_response_hop_limit(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpPutResponseHopLimit<S>>where
S::HttpPutResponseHopLimit: IsUnset,
pub fn maybe_http_put_response_hop_limit(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpPutResponseHopLimit<S>>where
S::HttpPutResponseHopLimit: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1
to 64
, or -1
to indicate no preference. Default: -1
.
sourcepub fn http_tokens(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpTokens<S>>where
S::HttpTokens: IsUnset,
pub fn http_tokens(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpTokens<S>>where
S::HttpTokens: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Whether the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"
, "required"
, or "no-preference"
. Default: "no-preference"
.
sourcepub fn maybe_http_tokens(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpTokens<S>>where
S::HttpTokens: IsUnset,
pub fn maybe_http_tokens(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceMetadataDefaultsArgsBuilder<SetHttpTokens<S>>where
S::HttpTokens: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Whether the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"
, "required"
, or "no-preference"
. Default: "no-preference"
.