Struct aws_sdk_securityhub::types::builders::AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
source · #[non_exhaustive]pub struct AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder { /* private fields */ }
Expand description
A builder for AwsAutoScalingLaunchConfigurationMetadataOptions
.
Implementations§
source§impl AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
impl AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
sourcepub fn http_endpoint(self, input: impl Into<String>) -> Self
pub fn http_endpoint(self, input: impl Into<String>) -> Self
Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is enabled.
sourcepub fn set_http_endpoint(self, input: Option<String>) -> Self
pub fn set_http_endpoint(self, input: Option<String>) -> Self
Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is enabled.
sourcepub fn get_http_endpoint(&self) -> &Option<String>
pub fn get_http_endpoint(&self) -> &Option<String>
Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is enabled.
sourcepub fn http_put_response_hop_limit(self, input: i32) -> Self
pub fn http_put_response_hop_limit(self, input: i32) -> Self
The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
sourcepub fn set_http_put_response_hop_limit(self, input: Option<i32>) -> Self
pub fn set_http_put_response_hop_limit(self, input: Option<i32>) -> Self
The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
sourcepub fn get_http_put_response_hop_limit(&self) -> &Option<i32>
pub fn get_http_put_response_hop_limit(&self) -> &Option<i32>
The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
sourcepub fn http_tokens(self, input: impl Into<String>) -> Self
pub fn http_tokens(self, input: impl Into<String>) -> Self
Indicates whether token usage is required
or optional
for metadata requests. By default, token usage is optional
.
sourcepub fn set_http_tokens(self, input: Option<String>) -> Self
pub fn set_http_tokens(self, input: Option<String>) -> Self
Indicates whether token usage is required
or optional
for metadata requests. By default, token usage is optional
.
sourcepub fn get_http_tokens(&self) -> &Option<String>
pub fn get_http_tokens(&self) -> &Option<String>
Indicates whether token usage is required
or optional
for metadata requests. By default, token usage is optional
.
sourcepub fn build(self) -> AwsAutoScalingLaunchConfigurationMetadataOptions
pub fn build(self) -> AwsAutoScalingLaunchConfigurationMetadataOptions
Consumes the builder and constructs a AwsAutoScalingLaunchConfigurationMetadataOptions
.
Trait Implementations§
source§impl Clone for AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
impl Clone for AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
source§fn clone(&self) -> AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
fn clone(&self) -> AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
impl Default for AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
source§fn default() -> AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
fn default() -> AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
source§impl PartialEq for AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
impl PartialEq for AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
source§fn eq(
&self,
other: &AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder
) -> bool
fn eq( &self, other: &AwsAutoScalingLaunchConfigurationMetadataOptionsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.