Struct aws_sdk_imagebuilder::input::get_image_policy_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetImagePolicyInput
.
Implementations§
source§impl Builder
impl Builder
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
.