#[non_exhaustive]pub struct CreateIpamScopeInputBuilder { /* private fields */ }
Expand description
A builder for CreateIpamScopeInput
.
Implementations§
source§impl CreateIpamScopeInputBuilder
impl CreateIpamScopeInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
A check for 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
A check for 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>
A check for 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 ipam_id(self, input: impl Into<String>) -> Self
pub fn ipam_id(self, input: impl Into<String>) -> Self
The ID of the IPAM for which you're creating this scope.
sourcepub fn set_ipam_id(self, input: Option<String>) -> Self
pub fn set_ipam_id(self, input: Option<String>) -> Self
The ID of the IPAM for which you're creating this scope.
sourcepub fn get_ipam_id(&self) -> &Option<String>
pub fn get_ipam_id(&self) -> &Option<String>
The ID of the IPAM for which you're creating this scope.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the scope you're creating.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the scope you're creating.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the scope you're creating.
sourcepub fn tag_specifications(self, input: TagSpecification) -> Self
pub fn tag_specifications(self, input: TagSpecification) -> Self
Appends an item to tag_specifications
.
To override the contents of this collection use set_tag_specifications
.
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
sourcepub fn set_tag_specifications(
self,
input: Option<Vec<TagSpecification>>
) -> Self
pub fn set_tag_specifications( self, input: Option<Vec<TagSpecification>> ) -> Self
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
sourcepub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
pub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
sourcepub fn build(self) -> Result<CreateIpamScopeInput, BuildError>
pub fn build(self) -> Result<CreateIpamScopeInput, BuildError>
Consumes the builder and constructs a CreateIpamScopeInput
.
source§impl CreateIpamScopeInputBuilder
impl CreateIpamScopeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIpamScopeOutput, SdkError<CreateIpamScopeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIpamScopeOutput, SdkError<CreateIpamScopeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIpamScopeInputBuilder
impl Clone for CreateIpamScopeInputBuilder
source§fn clone(&self) -> CreateIpamScopeInputBuilder
fn clone(&self) -> CreateIpamScopeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateIpamScopeInputBuilder
impl Debug for CreateIpamScopeInputBuilder
source§impl Default for CreateIpamScopeInputBuilder
impl Default for CreateIpamScopeInputBuilder
source§fn default() -> CreateIpamScopeInputBuilder
fn default() -> CreateIpamScopeInputBuilder
source§impl PartialEq<CreateIpamScopeInputBuilder> for CreateIpamScopeInputBuilder
impl PartialEq<CreateIpamScopeInputBuilder> for CreateIpamScopeInputBuilder
source§fn eq(&self, other: &CreateIpamScopeInputBuilder) -> bool
fn eq(&self, other: &CreateIpamScopeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.