Struct aws_sdk_codebuild::operation::get_resource_policy::builders::GetResourcePolicyInputBuilder
source · #[non_exhaustive]pub struct GetResourcePolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetResourcePolicyInput
.
Implementations§
source§impl GetResourcePolicyInputBuilder
impl GetResourcePolicyInputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN of the resource that is associated with the resource policy.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN of the resource that is associated with the resource policy.
sourcepub fn build(self) -> Result<GetResourcePolicyInput, BuildError>
pub fn build(self) -> Result<GetResourcePolicyInput, BuildError>
Consumes the builder and constructs a GetResourcePolicyInput
.
Trait Implementations§
source§impl Clone for GetResourcePolicyInputBuilder
impl Clone for GetResourcePolicyInputBuilder
source§fn clone(&self) -> GetResourcePolicyInputBuilder
fn clone(&self) -> GetResourcePolicyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetResourcePolicyInputBuilder
impl Default for GetResourcePolicyInputBuilder
source§fn default() -> GetResourcePolicyInputBuilder
fn default() -> GetResourcePolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetResourcePolicyInputBuilder> for GetResourcePolicyInputBuilder
impl PartialEq<GetResourcePolicyInputBuilder> for GetResourcePolicyInputBuilder
source§fn eq(&self, other: &GetResourcePolicyInputBuilder) -> bool
fn eq(&self, other: &GetResourcePolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.