Struct aws_sdk_imagebuilder::operation::get_component_policy::builders::GetComponentPolicyInputBuilder
source · #[non_exhaustive]pub struct GetComponentPolicyInputBuilder { /* private fields */ }Expand description
A builder for GetComponentPolicyInput.
Implementations§
source§impl GetComponentPolicyInputBuilder
impl GetComponentPolicyInputBuilder
sourcepub fn component_arn(self, input: impl Into<String>) -> Self
pub fn component_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.
sourcepub fn set_component_arn(self, input: Option<String>) -> Self
pub fn set_component_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.
sourcepub fn build(self) -> Result<GetComponentPolicyInput, BuildError>
pub fn build(self) -> Result<GetComponentPolicyInput, BuildError>
Consumes the builder and constructs a GetComponentPolicyInput.
Trait Implementations§
source§impl Clone for GetComponentPolicyInputBuilder
impl Clone for GetComponentPolicyInputBuilder
source§fn clone(&self) -> GetComponentPolicyInputBuilder
fn clone(&self) -> GetComponentPolicyInputBuilder
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 GetComponentPolicyInputBuilder
impl Default for GetComponentPolicyInputBuilder
source§fn default() -> GetComponentPolicyInputBuilder
fn default() -> GetComponentPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetComponentPolicyInputBuilder> for GetComponentPolicyInputBuilder
impl PartialEq<GetComponentPolicyInputBuilder> for GetComponentPolicyInputBuilder
source§fn eq(&self, other: &GetComponentPolicyInputBuilder) -> bool
fn eq(&self, other: &GetComponentPolicyInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.