#[non_exhaustive]pub struct ModifyIdFormatInputBuilder { /* private fields */ }
Expand description
A builder for ModifyIdFormatInput
.
Implementations§
source§impl ModifyIdFormatInputBuilder
impl ModifyIdFormatInputBuilder
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
Indicate 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
Indicate 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>
Indicate whether the resource should use longer IDs (17-character IDs).
sourcepub fn build(self) -> Result<ModifyIdFormatInput, BuildError>
pub fn build(self) -> Result<ModifyIdFormatInput, BuildError>
Consumes the builder and constructs a ModifyIdFormatInput
.
source§impl ModifyIdFormatInputBuilder
impl ModifyIdFormatInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyIdFormatOutput, SdkError<ModifyIdFormatError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyIdFormatOutput, SdkError<ModifyIdFormatError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyIdFormatInputBuilder
impl Clone for ModifyIdFormatInputBuilder
source§fn clone(&self) -> ModifyIdFormatInputBuilder
fn clone(&self) -> ModifyIdFormatInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyIdFormatInputBuilder
impl Debug for ModifyIdFormatInputBuilder
source§impl Default for ModifyIdFormatInputBuilder
impl Default for ModifyIdFormatInputBuilder
source§fn default() -> ModifyIdFormatInputBuilder
fn default() -> ModifyIdFormatInputBuilder
source§impl PartialEq<ModifyIdFormatInputBuilder> for ModifyIdFormatInputBuilder
impl PartialEq<ModifyIdFormatInputBuilder> for ModifyIdFormatInputBuilder
source§fn eq(&self, other: &ModifyIdFormatInputBuilder) -> bool
fn eq(&self, other: &ModifyIdFormatInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.