pub struct ArnBuilder { /* private fields */ }
Expand description
Builder type for an AWS ResourceName
.
Implementations§
Source§impl ArnBuilder
impl ArnBuilder
Sourcepub fn service_id(service: Identifier) -> Self
pub fn service_id(service: Identifier) -> Self
Construct an ResourceName for the specified service
.
Sourcepub fn in_partition(&mut self, partition: Partition) -> &mut Self
pub fn in_partition(&mut self, partition: Partition) -> &mut Self
Set a specific partition
for this ResourceName.
Sourcepub fn in_partition_id(&mut self, partition: Identifier) -> &mut Self
pub fn in_partition_id(&mut self, partition: Identifier) -> &mut Self
Set a specific partition
for this ResourceName.
Sourcepub fn in_default_partition(&mut self) -> &mut Self
pub fn in_default_partition(&mut self) -> &mut Self
Set a specific partition
for this ResourceName.
Sourcepub fn in_any_partition(&mut self) -> &mut Self
pub fn in_any_partition(&mut self) -> &mut Self
Set a specific partition
for this ResourceName.
Sourcepub fn in_region(&mut self, region: Region) -> &mut Self
pub fn in_region(&mut self, region: Region) -> &mut Self
Set a specific region
for this ResourceName.
Sourcepub fn in_region_id(&mut self, region: Identifier) -> &mut Self
pub fn in_region_id(&mut self, region: Identifier) -> &mut Self
Set a specific region
for this ResourceName.
Sourcepub fn and_region(&mut self, region: Region) -> &mut Self
pub fn and_region(&mut self, region: Region) -> &mut Self
Set a specific region
for this ResourceName.
Sourcepub fn and_region_id(&mut self, region: Identifier) -> &mut Self
pub fn and_region_id(&mut self, region: Identifier) -> &mut Self
Set a specific region
for this ResourceName.
Sourcepub fn in_any_region(&mut self) -> &mut Self
pub fn in_any_region(&mut self) -> &mut Self
Set region
to a wildcard for this ResourceName.
Sourcepub fn in_account(&mut self, account: AccountIdentifier) -> &mut Self
pub fn in_account(&mut self, account: AccountIdentifier) -> &mut Self
Set a specific account
for this ResourceName.
Sourcepub fn and_account(&mut self, account: AccountIdentifier) -> &mut Self
pub fn and_account(&mut self, account: AccountIdentifier) -> &mut Self
Set a specific account
for this ResourceName.
Sourcepub fn owned_by(&mut self, account: AccountIdentifier) -> &mut Self
pub fn owned_by(&mut self, account: AccountIdentifier) -> &mut Self
Set a specific account
for this ResourceName.
Sourcepub fn in_any_account(&mut self) -> &mut Self
pub fn in_any_account(&mut self) -> &mut Self
Set account
to a wildcard for this ResourceName.
Sourcepub fn resource(&mut self, resource: ResourceIdentifier) -> &mut Self
pub fn resource(&mut self, resource: ResourceIdentifier) -> &mut Self
Set a specific resource
for this ResourceName.
Sourcepub fn is(&mut self, resource: ResourceIdentifier) -> &mut Self
pub fn is(&mut self, resource: ResourceIdentifier) -> &mut Self
Set a specific resource
for this ResourceName.
Sourcepub fn a(&mut self, resource: ResourceIdentifier) -> &mut Self
pub fn a(&mut self, resource: ResourceIdentifier) -> &mut Self
Set a specific resource
for this ResourceName.
Sourcepub fn any_resource(&mut self) -> &mut Self
pub fn any_resource(&mut self) -> &mut Self
Set resource
to a wildcard for this ResourceName.
Sourcepub fn for_any_resource(&mut self) -> &mut Self
pub fn for_any_resource(&mut self) -> &mut Self
Set resource
to a wildcard for this ResourceName.
Trait Implementations§
Source§impl Clone for ArnBuilder
impl Clone for ArnBuilder
Source§fn clone(&self) -> ArnBuilder
fn clone(&self) -> ArnBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more