Struct aws_sdk_s3control::operation::get_multi_region_access_point_policy::builders::GetMultiRegionAccessPointPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetMultiRegionAccessPointPolicyOutputBuilder { /* private fields */ }Expand description
A builder for GetMultiRegionAccessPointPolicyOutput.
Implementations§
source§impl GetMultiRegionAccessPointPolicyOutputBuilder
impl GetMultiRegionAccessPointPolicyOutputBuilder
sourcepub fn policy(self, input: MultiRegionAccessPointPolicyDocument) -> Self
pub fn policy(self, input: MultiRegionAccessPointPolicyDocument) -> Self
The policy associated with the specified Multi-Region Access Point.
sourcepub fn set_policy(
self,
input: Option<MultiRegionAccessPointPolicyDocument>
) -> Self
pub fn set_policy( self, input: Option<MultiRegionAccessPointPolicyDocument> ) -> Self
The policy associated with the specified Multi-Region Access Point.
sourcepub fn get_policy(&self) -> &Option<MultiRegionAccessPointPolicyDocument>
pub fn get_policy(&self) -> &Option<MultiRegionAccessPointPolicyDocument>
The policy associated with the specified Multi-Region Access Point.
sourcepub fn build(self) -> GetMultiRegionAccessPointPolicyOutput
pub fn build(self) -> GetMultiRegionAccessPointPolicyOutput
Consumes the builder and constructs a GetMultiRegionAccessPointPolicyOutput.
Trait Implementations§
source§impl Clone for GetMultiRegionAccessPointPolicyOutputBuilder
impl Clone for GetMultiRegionAccessPointPolicyOutputBuilder
source§fn clone(&self) -> GetMultiRegionAccessPointPolicyOutputBuilder
fn clone(&self) -> GetMultiRegionAccessPointPolicyOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetMultiRegionAccessPointPolicyOutputBuilder
impl Default for GetMultiRegionAccessPointPolicyOutputBuilder
source§fn default() -> GetMultiRegionAccessPointPolicyOutputBuilder
fn default() -> GetMultiRegionAccessPointPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetMultiRegionAccessPointPolicyOutputBuilder
impl PartialEq for GetMultiRegionAccessPointPolicyOutputBuilder
source§fn eq(&self, other: &GetMultiRegionAccessPointPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetMultiRegionAccessPointPolicyOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetMultiRegionAccessPointPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetMultiRegionAccessPointPolicyOutputBuilder
impl RefUnwindSafe for GetMultiRegionAccessPointPolicyOutputBuilder
impl Send for GetMultiRegionAccessPointPolicyOutputBuilder
impl Sync for GetMultiRegionAccessPointPolicyOutputBuilder
impl Unpin for GetMultiRegionAccessPointPolicyOutputBuilder
impl UnwindSafe for GetMultiRegionAccessPointPolicyOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.