[][src]Struct aws_arn::builder::ArnBuilder

pub struct ArnBuilder { /* fields omitted */ }

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

impl Debug for ArnBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]