#[non_exhaustive]pub struct GetPolicyVersionInputBuilder { /* private fields */ }
Expand description
A builder for GetPolicyVersionInput
.
Implementations§
source§impl GetPolicyVersionInputBuilder
impl GetPolicyVersionInputBuilder
sourcepub fn policy_arn(self, input: impl Into<String>) -> Self
pub fn policy_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the managed policy that you want information about.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
This field is required.sourcepub fn set_policy_arn(self, input: Option<String>) -> Self
pub fn set_policy_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the managed policy that you want information about.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn get_policy_arn(&self) -> &Option<String>
pub fn get_policy_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the managed policy that you want information about.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
Identifies the policy version to retrieve.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
This field is required.sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Identifies the policy version to retrieve.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
Identifies the policy version to retrieve.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
sourcepub fn build(self) -> Result<GetPolicyVersionInput, BuildError>
pub fn build(self) -> Result<GetPolicyVersionInput, BuildError>
Consumes the builder and constructs a GetPolicyVersionInput
.
source§impl GetPolicyVersionInputBuilder
impl GetPolicyVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPolicyVersionOutput, SdkError<GetPolicyVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPolicyVersionOutput, SdkError<GetPolicyVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPolicyVersionInputBuilder
impl Clone for GetPolicyVersionInputBuilder
source§fn clone(&self) -> GetPolicyVersionInputBuilder
fn clone(&self) -> GetPolicyVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPolicyVersionInputBuilder
impl Debug for GetPolicyVersionInputBuilder
source§impl Default for GetPolicyVersionInputBuilder
impl Default for GetPolicyVersionInputBuilder
source§fn default() -> GetPolicyVersionInputBuilder
fn default() -> GetPolicyVersionInputBuilder
source§impl PartialEq for GetPolicyVersionInputBuilder
impl PartialEq for GetPolicyVersionInputBuilder
source§fn eq(&self, other: &GetPolicyVersionInputBuilder) -> bool
fn eq(&self, other: &GetPolicyVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.