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 ==
.