Struct aws_sdk_s3control::operation::get_access_grants_instance_resource_policy::builders::GetAccessGrantsInstanceResourcePolicyOutputBuilder
source · #[non_exhaustive]pub struct GetAccessGrantsInstanceResourcePolicyOutputBuilder { /* private fields */ }Expand description
A builder for GetAccessGrantsInstanceResourcePolicyOutput.
Implementations§
source§impl GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl GetAccessGrantsInstanceResourcePolicyOutputBuilder
sourcepub fn policy(self, input: impl Into<String>) -> Self
pub fn policy(self, input: impl Into<String>) -> Self
The resource policy of the S3 Access Grants instance.
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The resource policy of the S3 Access Grants instance.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The resource policy of the S3 Access Grants instance.
sourcepub fn organization(self, input: impl Into<String>) -> Self
pub fn organization(self, input: impl Into<String>) -> Self
The Organization of the resource policy of the S3 Access Grants instance.
sourcepub fn set_organization(self, input: Option<String>) -> Self
pub fn set_organization(self, input: Option<String>) -> Self
The Organization of the resource policy of the S3 Access Grants instance.
sourcepub fn get_organization(&self) -> &Option<String>
pub fn get_organization(&self) -> &Option<String>
The Organization of the resource policy of the S3 Access Grants instance.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time when you created the S3 Access Grants instance resource policy.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time when you created the S3 Access Grants instance resource policy.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time when you created the S3 Access Grants instance resource policy.
sourcepub fn build(self) -> GetAccessGrantsInstanceResourcePolicyOutput
pub fn build(self) -> GetAccessGrantsInstanceResourcePolicyOutput
Consumes the builder and constructs a GetAccessGrantsInstanceResourcePolicyOutput.
Trait Implementations§
source§impl Clone for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl Clone for GetAccessGrantsInstanceResourcePolicyOutputBuilder
source§fn clone(&self) -> GetAccessGrantsInstanceResourcePolicyOutputBuilder
fn clone(&self) -> GetAccessGrantsInstanceResourcePolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl Default for GetAccessGrantsInstanceResourcePolicyOutputBuilder
source§fn default() -> GetAccessGrantsInstanceResourcePolicyOutputBuilder
fn default() -> GetAccessGrantsInstanceResourcePolicyOutputBuilder
source§impl PartialEq for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl PartialEq for GetAccessGrantsInstanceResourcePolicyOutputBuilder
source§fn eq(&self, other: &GetAccessGrantsInstanceResourcePolicyOutputBuilder) -> bool
fn eq(&self, other: &GetAccessGrantsInstanceResourcePolicyOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetAccessGrantsInstanceResourcePolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl RefUnwindSafe for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl Send for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl Sync for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl Unpin for GetAccessGrantsInstanceResourcePolicyOutputBuilder
impl UnwindSafe for GetAccessGrantsInstanceResourcePolicyOutputBuilder
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
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>
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>
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 more