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