Struct aws_sdk_ec2::operation::modify_identity_id_format::builders::ModifyIdentityIdFormatInputBuilder
source · #[non_exhaustive]pub struct ModifyIdentityIdFormatInputBuilder { /* private fields */ }
Expand description
A builder for ModifyIdentityIdFormatInput
.
Implementations§
source§impl ModifyIdentityIdFormatInputBuilder
impl ModifyIdentityIdFormatInputBuilder
sourcepub fn principal_arn(self, input: impl Into<String>) -> Self
pub fn principal_arn(self, input: impl Into<String>) -> Self
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.
sourcepub fn set_principal_arn(self, input: Option<String>) -> Self
pub fn set_principal_arn(self, input: Option<String>) -> Self
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.
sourcepub fn get_principal_arn(&self) -> &Option<String>
pub fn get_principal_arn(&self) -> &Option<String>
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.
sourcepub fn resource(self, input: impl Into<String>) -> Self
pub fn resource(self, input: impl Into<String>) -> Self
The type of resource: bundle
| conversion-task
| customer-gateway
| dhcp-options
| elastic-ip-allocation
| elastic-ip-association
| export-task
| flow-log
| image
| import-task
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| route-table
| route-table-association
| security-group
| subnet
| subnet-cidr-block-association
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
.
Alternatively, use the all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
sourcepub fn set_resource(self, input: Option<String>) -> Self
pub fn set_resource(self, input: Option<String>) -> Self
The type of resource: bundle
| conversion-task
| customer-gateway
| dhcp-options
| elastic-ip-allocation
| elastic-ip-association
| export-task
| flow-log
| image
| import-task
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| route-table
| route-table-association
| security-group
| subnet
| subnet-cidr-block-association
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
.
Alternatively, use the all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
sourcepub fn get_resource(&self) -> &Option<String>
pub fn get_resource(&self) -> &Option<String>
The type of resource: bundle
| conversion-task
| customer-gateway
| dhcp-options
| elastic-ip-allocation
| elastic-ip-association
| export-task
| flow-log
| image
| import-task
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| route-table
| route-table-association
| security-group
| subnet
| subnet-cidr-block-association
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
.
Alternatively, use the all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
sourcepub fn use_long_ids(self, input: bool) -> Self
pub fn use_long_ids(self, input: bool) -> Self
Indicates whether the resource should use longer IDs (17-character IDs)
sourcepub fn set_use_long_ids(self, input: Option<bool>) -> Self
pub fn set_use_long_ids(self, input: Option<bool>) -> Self
Indicates whether the resource should use longer IDs (17-character IDs)
sourcepub fn get_use_long_ids(&self) -> &Option<bool>
pub fn get_use_long_ids(&self) -> &Option<bool>
Indicates whether the resource should use longer IDs (17-character IDs)
sourcepub fn build(self) -> Result<ModifyIdentityIdFormatInput, BuildError>
pub fn build(self) -> Result<ModifyIdentityIdFormatInput, BuildError>
Consumes the builder and constructs a ModifyIdentityIdFormatInput
.
source§impl ModifyIdentityIdFormatInputBuilder
impl ModifyIdentityIdFormatInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyIdentityIdFormatOutput, SdkError<ModifyIdentityIdFormatError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyIdentityIdFormatOutput, SdkError<ModifyIdentityIdFormatError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyIdentityIdFormatInputBuilder
impl Clone for ModifyIdentityIdFormatInputBuilder
source§fn clone(&self) -> ModifyIdentityIdFormatInputBuilder
fn clone(&self) -> ModifyIdentityIdFormatInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyIdentityIdFormatInputBuilder
impl Default for ModifyIdentityIdFormatInputBuilder
source§fn default() -> ModifyIdentityIdFormatInputBuilder
fn default() -> ModifyIdentityIdFormatInputBuilder
source§impl PartialEq<ModifyIdentityIdFormatInputBuilder> for ModifyIdentityIdFormatInputBuilder
impl PartialEq<ModifyIdentityIdFormatInputBuilder> for ModifyIdentityIdFormatInputBuilder
source§fn eq(&self, other: &ModifyIdentityIdFormatInputBuilder) -> bool
fn eq(&self, other: &ModifyIdentityIdFormatInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.