Struct aws_sdk_codeguruprofiler::operation::put_permission::builders::PutPermissionOutputBuilder
source · #[non_exhaustive]pub struct PutPermissionOutputBuilder { /* private fields */ }
Expand description
A builder for PutPermissionOutput
.
Implementations§
source§impl PutPermissionOutputBuilder
impl PutPermissionOutputBuilder
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 that includes the added permissions.
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 that includes the added permissions.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The JSON-formatted resource-based policy on the profiling group that includes the added permissions.
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 that includes the added permissions. The 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 that includes the added permissions. The 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 that includes the added permissions. The JSON-formatted policy is in the policy
element of the response.
sourcepub fn build(self) -> Result<PutPermissionOutput, BuildError>
pub fn build(self) -> Result<PutPermissionOutput, BuildError>
Consumes the builder and constructs a PutPermissionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutPermissionOutputBuilder
impl Clone for PutPermissionOutputBuilder
source§fn clone(&self) -> PutPermissionOutputBuilder
fn clone(&self) -> PutPermissionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutPermissionOutputBuilder
impl Debug for PutPermissionOutputBuilder
source§impl Default for PutPermissionOutputBuilder
impl Default for PutPermissionOutputBuilder
source§fn default() -> PutPermissionOutputBuilder
fn default() -> PutPermissionOutputBuilder
source§impl PartialEq for PutPermissionOutputBuilder
impl PartialEq for PutPermissionOutputBuilder
source§fn eq(&self, other: &PutPermissionOutputBuilder) -> bool
fn eq(&self, other: &PutPermissionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutPermissionOutputBuilder
Auto Trait Implementations§
impl Freeze for PutPermissionOutputBuilder
impl RefUnwindSafe for PutPermissionOutputBuilder
impl Send for PutPermissionOutputBuilder
impl Sync for PutPermissionOutputBuilder
impl Unpin for PutPermissionOutputBuilder
impl UnwindSafe for PutPermissionOutputBuilder
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