#[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).
This field is required.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 for ModifyIdFormatInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ModifyIdFormatInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyIdFormatInputBuilder
impl RefUnwindSafe for ModifyIdFormatInputBuilder
impl Send for ModifyIdFormatInputBuilder
impl Sync for ModifyIdFormatInputBuilder
impl Unpin for ModifyIdFormatInputBuilder
impl UnwindSafe for ModifyIdFormatInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more