Struct aws_sdk_licensemanager::types::builders::TokenDataBuilder
source · #[non_exhaustive]pub struct TokenDataBuilder { /* private fields */ }Expand description
A builder for TokenData.
Implementations§
source§impl TokenDataBuilder
impl TokenDataBuilder
sourcepub fn set_token_id(self, input: Option<String>) -> Self
pub fn set_token_id(self, input: Option<String>) -> Self
Token ID.
sourcepub fn get_token_id(&self) -> &Option<String>
pub fn get_token_id(&self) -> &Option<String>
Token ID.
sourcepub fn token_type(self, input: impl Into<String>) -> Self
pub fn token_type(self, input: impl Into<String>) -> Self
Type of token generated. The supported value is REFRESH_TOKEN.
sourcepub fn set_token_type(self, input: Option<String>) -> Self
pub fn set_token_type(self, input: Option<String>) -> Self
Type of token generated. The supported value is REFRESH_TOKEN.
sourcepub fn get_token_type(&self) -> &Option<String>
pub fn get_token_type(&self) -> &Option<String>
Type of token generated. The supported value is REFRESH_TOKEN.
sourcepub fn license_arn(self, input: impl Into<String>) -> Self
pub fn license_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the license.
sourcepub fn set_license_arn(self, input: Option<String>) -> Self
pub fn set_license_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the license.
sourcepub fn get_license_arn(&self) -> &Option<String>
pub fn get_license_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the license.
sourcepub fn expiration_time(self, input: impl Into<String>) -> Self
pub fn expiration_time(self, input: impl Into<String>) -> Self
Token expiration time, in ISO8601-UTC format.
sourcepub fn set_expiration_time(self, input: Option<String>) -> Self
pub fn set_expiration_time(self, input: Option<String>) -> Self
Token expiration time, in ISO8601-UTC format.
sourcepub fn get_expiration_time(&self) -> &Option<String>
pub fn get_expiration_time(&self) -> &Option<String>
Token expiration time, in ISO8601-UTC format.
sourcepub fn token_properties(self, input: impl Into<String>) -> Self
pub fn token_properties(self, input: impl Into<String>) -> Self
Appends an item to token_properties.
To override the contents of this collection use set_token_properties.
Data specified by the caller.
sourcepub fn set_token_properties(self, input: Option<Vec<String>>) -> Self
pub fn set_token_properties(self, input: Option<Vec<String>>) -> Self
Data specified by the caller.
sourcepub fn get_token_properties(&self) -> &Option<Vec<String>>
pub fn get_token_properties(&self) -> &Option<Vec<String>>
Data specified by the caller.
sourcepub fn role_arns(self, input: impl Into<String>) -> Self
pub fn role_arns(self, input: impl Into<String>) -> Self
Appends an item to role_arns.
To override the contents of this collection use set_role_arns.
Amazon Resource Names (ARN) of the roles included in the token.
sourcepub fn set_role_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_role_arns(self, input: Option<Vec<String>>) -> Self
Amazon Resource Names (ARN) of the roles included in the token.
sourcepub fn get_role_arns(&self) -> &Option<Vec<String>>
pub fn get_role_arns(&self) -> &Option<Vec<String>>
Amazon Resource Names (ARN) of the roles included in the token.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
Token status. The possible values are AVAILABLE and DELETED.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
Token status. The possible values are AVAILABLE and DELETED.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
Token status. The possible values are AVAILABLE and DELETED.
Trait Implementations§
source§impl Clone for TokenDataBuilder
impl Clone for TokenDataBuilder
source§fn clone(&self) -> TokenDataBuilder
fn clone(&self) -> TokenDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TokenDataBuilder
impl Debug for TokenDataBuilder
source§impl Default for TokenDataBuilder
impl Default for TokenDataBuilder
source§fn default() -> TokenDataBuilder
fn default() -> TokenDataBuilder
source§impl PartialEq<TokenDataBuilder> for TokenDataBuilder
impl PartialEq<TokenDataBuilder> for TokenDataBuilder
source§fn eq(&self, other: &TokenDataBuilder) -> bool
fn eq(&self, other: &TokenDataBuilder) -> bool
self and other values to be equal, and is used
by ==.