Struct aws_sdk_ec2::types::builders::LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
source · #[non_exhaustive]pub struct LaunchTemplateIamInstanceProfileSpecificationRequestBuilder { /* private fields */ }Expand description
A builder for LaunchTemplateIamInstanceProfileSpecificationRequest.
Implementations§
source§impl LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
impl LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn build(self) -> LaunchTemplateIamInstanceProfileSpecificationRequest
pub fn build(self) -> LaunchTemplateIamInstanceProfileSpecificationRequest
Consumes the builder and constructs a LaunchTemplateIamInstanceProfileSpecificationRequest.
Trait Implementations§
source§impl Clone for LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
impl Clone for LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
source§fn clone(&self) -> LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
fn clone(&self) -> LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
impl Default for LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
source§fn default() -> LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
fn default() -> LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LaunchTemplateIamInstanceProfileSpecificationRequestBuilder> for LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
impl PartialEq<LaunchTemplateIamInstanceProfileSpecificationRequestBuilder> for LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
source§fn eq(
&self,
other: &LaunchTemplateIamInstanceProfileSpecificationRequestBuilder
) -> bool
fn eq( &self, other: &LaunchTemplateIamInstanceProfileSpecificationRequestBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.