Struct aws_sdk_lexmodelsv2::operation::create_resource_policy::builders::CreateResourcePolicyOutputBuilder
source · #[non_exhaustive]pub struct CreateResourcePolicyOutputBuilder { /* private fields */ }
Expand description
A builder for CreateResourcePolicyOutput
.
Implementations§
source§impl CreateResourcePolicyOutputBuilder
impl CreateResourcePolicyOutputBuilder
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 was 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 was 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 was 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) -> CreateResourcePolicyOutput
pub fn build(self) -> CreateResourcePolicyOutput
Consumes the builder and constructs a CreateResourcePolicyOutput
.
Trait Implementations§
source§impl Clone for CreateResourcePolicyOutputBuilder
impl Clone for CreateResourcePolicyOutputBuilder
source§fn clone(&self) -> CreateResourcePolicyOutputBuilder
fn clone(&self) -> CreateResourcePolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateResourcePolicyOutputBuilder
impl Default for CreateResourcePolicyOutputBuilder
source§fn default() -> CreateResourcePolicyOutputBuilder
fn default() -> CreateResourcePolicyOutputBuilder
source§impl PartialEq for CreateResourcePolicyOutputBuilder
impl PartialEq for CreateResourcePolicyOutputBuilder
source§fn eq(&self, other: &CreateResourcePolicyOutputBuilder) -> bool
fn eq(&self, other: &CreateResourcePolicyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.