Struct aws_sdk_lexmodelsv2::operation::create_resource_policy_statement::builders::CreateResourcePolicyStatementOutputBuilder
source · #[non_exhaustive]pub struct CreateResourcePolicyStatementOutputBuilder { /* private fields */ }Expand description
A builder for CreateResourcePolicyStatementOutput.
Implementations§
source§impl CreateResourcePolicyStatementOutputBuilder
impl CreateResourcePolicyStatementOutputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
sourcepub fn build(self) -> CreateResourcePolicyStatementOutput
pub fn build(self) -> CreateResourcePolicyStatementOutput
Consumes the builder and constructs a CreateResourcePolicyStatementOutput.
Trait Implementations§
source§impl Clone for CreateResourcePolicyStatementOutputBuilder
impl Clone for CreateResourcePolicyStatementOutputBuilder
source§fn clone(&self) -> CreateResourcePolicyStatementOutputBuilder
fn clone(&self) -> CreateResourcePolicyStatementOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateResourcePolicyStatementOutputBuilder
impl Default for CreateResourcePolicyStatementOutputBuilder
source§fn default() -> CreateResourcePolicyStatementOutputBuilder
fn default() -> CreateResourcePolicyStatementOutputBuilder
source§impl PartialEq for CreateResourcePolicyStatementOutputBuilder
impl PartialEq for CreateResourcePolicyStatementOutputBuilder
source§fn eq(&self, other: &CreateResourcePolicyStatementOutputBuilder) -> bool
fn eq(&self, other: &CreateResourcePolicyStatementOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateResourcePolicyStatementOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateResourcePolicyStatementOutputBuilder
impl RefUnwindSafe for CreateResourcePolicyStatementOutputBuilder
impl Send for CreateResourcePolicyStatementOutputBuilder
impl Sync for CreateResourcePolicyStatementOutputBuilder
impl Unpin for CreateResourcePolicyStatementOutputBuilder
impl UnwindSafe for CreateResourcePolicyStatementOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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