Struct aws_sdk_ec2::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatInputBuilder
source · #[non_exhaustive]pub struct DescribePrincipalIdFormatInputBuilder { /* private fields */ }Expand description
A builder for DescribePrincipalIdFormatInput.
Implementations§
source§impl DescribePrincipalIdFormatInputBuilder
impl DescribePrincipalIdFormatInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn resources(self, input: impl Into<String>) -> Self
pub fn resources(self, input: impl Into<String>) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
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_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_resources(self, input: Option<Vec<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_resources(&self) -> &Option<Vec<String>>
pub fn get_resources(&self) -> &Option<Vec<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 max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to request the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to request the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to request the next page of results.
sourcepub fn build(self) -> Result<DescribePrincipalIdFormatInput, BuildError>
pub fn build(self) -> Result<DescribePrincipalIdFormatInput, BuildError>
Consumes the builder and constructs a DescribePrincipalIdFormatInput.
source§impl DescribePrincipalIdFormatInputBuilder
impl DescribePrincipalIdFormatInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribePrincipalIdFormatOutput, SdkError<DescribePrincipalIdFormatError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribePrincipalIdFormatOutput, SdkError<DescribePrincipalIdFormatError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribePrincipalIdFormatInputBuilder
impl Clone for DescribePrincipalIdFormatInputBuilder
source§fn clone(&self) -> DescribePrincipalIdFormatInputBuilder
fn clone(&self) -> DescribePrincipalIdFormatInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribePrincipalIdFormatInputBuilder
impl Default for DescribePrincipalIdFormatInputBuilder
source§fn default() -> DescribePrincipalIdFormatInputBuilder
fn default() -> DescribePrincipalIdFormatInputBuilder
source§impl PartialEq<DescribePrincipalIdFormatInputBuilder> for DescribePrincipalIdFormatInputBuilder
impl PartialEq<DescribePrincipalIdFormatInputBuilder> for DescribePrincipalIdFormatInputBuilder
source§fn eq(&self, other: &DescribePrincipalIdFormatInputBuilder) -> bool
fn eq(&self, other: &DescribePrincipalIdFormatInputBuilder) -> bool
self and other values to be equal, and is used
by ==.