Struct aws_sdk_ec2::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatInputBuilder
source · #[non_exhaustive]pub struct DescribeIdentityIdFormatInputBuilder { /* private fields */ }Expand description
A builder for DescribeIdentityIdFormatInput.
Implementations§
source§impl DescribeIdentityIdFormatInputBuilder
impl DescribeIdentityIdFormatInputBuilder
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 role, IAM user, or the root user.
This field is required.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 role, IAM user, or the root user.
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 role, IAM user, or the root user.
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 | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway
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 | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway
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 | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway
sourcepub fn build(self) -> Result<DescribeIdentityIdFormatInput, BuildError>
pub fn build(self) -> Result<DescribeIdentityIdFormatInput, BuildError>
Consumes the builder and constructs a DescribeIdentityIdFormatInput.
source§impl DescribeIdentityIdFormatInputBuilder
impl DescribeIdentityIdFormatInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeIdentityIdFormatOutput, SdkError<DescribeIdentityIdFormatError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeIdentityIdFormatOutput, SdkError<DescribeIdentityIdFormatError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeIdentityIdFormatInputBuilder
impl Clone for DescribeIdentityIdFormatInputBuilder
source§fn clone(&self) -> DescribeIdentityIdFormatInputBuilder
fn clone(&self) -> DescribeIdentityIdFormatInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeIdentityIdFormatInputBuilder
impl Default for DescribeIdentityIdFormatInputBuilder
source§fn default() -> DescribeIdentityIdFormatInputBuilder
fn default() -> DescribeIdentityIdFormatInputBuilder
source§impl PartialEq for DescribeIdentityIdFormatInputBuilder
impl PartialEq for DescribeIdentityIdFormatInputBuilder
source§fn eq(&self, other: &DescribeIdentityIdFormatInputBuilder) -> bool
fn eq(&self, other: &DescribeIdentityIdFormatInputBuilder) -> bool
self and other values to be equal, and is used
by ==.