[−][src]Struct aws_arn::builder::ArnBuilder
Builder type for an AWS ARN.
Methods
impl ArnBuilder
[src]
pub fn new(service: &str) -> Self
[src]
Construct an ARN for the specified service
.
pub fn in_partition(&mut self, partition: &str) -> &mut Self
[src]
Set a specific partition
for this ARN.
pub fn in_region(&mut self, region: &str) -> &mut Self
[src]
Set a specific region
for this ARN.
pub fn in_any_region(&mut self) -> &mut Self
[src]
Set region
to a wildcard for this ARN.
pub fn in_account(&mut self, account: &str) -> &mut Self
[src]
Set a specific account
for this ARN.
pub fn owned_by(&mut self, account: &str) -> &mut Self
[src]
Set a specific account
for this ARN.
pub fn in_any_account(&mut self) -> &mut Self
[src]
Set account
to a wildcard for this ARN.
pub fn resource(&mut self, resource: Resource) -> &mut Self
[src]
Set a specific resource
for this ARN.
pub fn is(&mut self, resource: Resource) -> &mut Self
[src]
Set a specific resource
for this ARN.
pub fn a(&mut self, resource: Resource) -> &mut Self
[src]
Set a specific resource
for this ARN.
pub fn any_resource(&mut self) -> &mut Self
[src]
Set resource
to a wildcard for this ARN.
pub fn build(&self) -> ARN
[src]
Construct an ARN
from this ArnBuilder
.
Trait Implementations
Auto Trait Implementations
impl Send for ArnBuilder
impl Sync for ArnBuilder
impl Unpin for ArnBuilder
impl UnwindSafe for ArnBuilder
impl RefUnwindSafe for ArnBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,