Struct aws_sdk_codeguruprofiler::operation::remove_permission::builders::RemovePermissionOutputBuilder
source · #[non_exhaustive]pub struct RemovePermissionOutputBuilder { /* private fields */ }
Expand description
A builder for RemovePermissionOutput
.
Implementations§
source§impl RemovePermissionOutputBuilder
impl RemovePermissionOutputBuilder
sourcepub fn policy(self, input: impl Into<String>) -> Self
pub fn policy(self, input: impl Into<String>) -> Self
The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed.
This field is required.sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed.
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the policy
element of the response.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the policy
element of the response.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the policy
element of the response.
sourcepub fn build(self) -> Result<RemovePermissionOutput, BuildError>
pub fn build(self) -> Result<RemovePermissionOutput, BuildError>
Consumes the builder and constructs a RemovePermissionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RemovePermissionOutputBuilder
impl Clone for RemovePermissionOutputBuilder
source§fn clone(&self) -> RemovePermissionOutputBuilder
fn clone(&self) -> RemovePermissionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RemovePermissionOutputBuilder
impl Default for RemovePermissionOutputBuilder
source§fn default() -> RemovePermissionOutputBuilder
fn default() -> RemovePermissionOutputBuilder
source§impl PartialEq for RemovePermissionOutputBuilder
impl PartialEq for RemovePermissionOutputBuilder
source§fn eq(&self, other: &RemovePermissionOutputBuilder) -> bool
fn eq(&self, other: &RemovePermissionOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RemovePermissionOutputBuilder
Auto Trait Implementations§
impl Freeze for RemovePermissionOutputBuilder
impl RefUnwindSafe for RemovePermissionOutputBuilder
impl Send for RemovePermissionOutputBuilder
impl Sync for RemovePermissionOutputBuilder
impl Unpin for RemovePermissionOutputBuilder
impl UnwindSafe for RemovePermissionOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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