Struct aws_sdk_licensemanager::types::builders::GrantBuilder
source · #[non_exhaustive]pub struct GrantBuilder { /* private fields */ }Expand description
A builder for Grant.
Implementations§
source§impl GrantBuilder
impl GrantBuilder
sourcepub fn grant_arn(self, input: impl Into<String>) -> Self
pub fn grant_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the grant.
sourcepub fn set_grant_arn(self, input: Option<String>) -> Self
pub fn set_grant_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the grant.
sourcepub fn get_grant_arn(&self) -> &Option<String>
pub fn get_grant_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the grant.
sourcepub fn grant_name(self, input: impl Into<String>) -> Self
pub fn grant_name(self, input: impl Into<String>) -> Self
Grant name.
sourcepub fn set_grant_name(self, input: Option<String>) -> Self
pub fn set_grant_name(self, input: Option<String>) -> Self
Grant name.
sourcepub fn get_grant_name(&self) -> &Option<String>
pub fn get_grant_name(&self) -> &Option<String>
Grant name.
sourcepub fn parent_arn(self, input: impl Into<String>) -> Self
pub fn parent_arn(self, input: impl Into<String>) -> Self
Parent ARN.
sourcepub fn set_parent_arn(self, input: Option<String>) -> Self
pub fn set_parent_arn(self, input: Option<String>) -> Self
Parent ARN.
sourcepub fn get_parent_arn(&self) -> &Option<String>
pub fn get_parent_arn(&self) -> &Option<String>
Parent ARN.
sourcepub fn license_arn(self, input: impl Into<String>) -> Self
pub fn license_arn(self, input: impl Into<String>) -> Self
License ARN.
sourcepub fn set_license_arn(self, input: Option<String>) -> Self
pub fn set_license_arn(self, input: Option<String>) -> Self
License ARN.
sourcepub fn get_license_arn(&self) -> &Option<String>
pub fn get_license_arn(&self) -> &Option<String>
License ARN.
sourcepub fn grantee_principal_arn(self, input: impl Into<String>) -> Self
pub fn grantee_principal_arn(self, input: impl Into<String>) -> Self
The grantee principal ARN.
sourcepub fn set_grantee_principal_arn(self, input: Option<String>) -> Self
pub fn set_grantee_principal_arn(self, input: Option<String>) -> Self
The grantee principal ARN.
sourcepub fn get_grantee_principal_arn(&self) -> &Option<String>
pub fn get_grantee_principal_arn(&self) -> &Option<String>
The grantee principal ARN.
sourcepub fn home_region(self, input: impl Into<String>) -> Self
pub fn home_region(self, input: impl Into<String>) -> Self
Home Region of the grant.
sourcepub fn set_home_region(self, input: Option<String>) -> Self
pub fn set_home_region(self, input: Option<String>) -> Self
Home Region of the grant.
sourcepub fn get_home_region(&self) -> &Option<String>
pub fn get_home_region(&self) -> &Option<String>
Home Region of the grant.
sourcepub fn grant_status(self, input: GrantStatus) -> Self
pub fn grant_status(self, input: GrantStatus) -> Self
Grant status.
sourcepub fn set_grant_status(self, input: Option<GrantStatus>) -> Self
pub fn set_grant_status(self, input: Option<GrantStatus>) -> Self
Grant status.
sourcepub fn get_grant_status(&self) -> &Option<GrantStatus>
pub fn get_grant_status(&self) -> &Option<GrantStatus>
Grant status.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
Grant status reason.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
Grant status reason.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
Grant status reason.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
Grant version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
Grant version.
sourcepub fn granted_operations(self, input: AllowedOperation) -> Self
pub fn granted_operations(self, input: AllowedOperation) -> Self
Appends an item to granted_operations.
To override the contents of this collection use set_granted_operations.
Granted operations.
sourcepub fn set_granted_operations(
self,
input: Option<Vec<AllowedOperation>>
) -> Self
pub fn set_granted_operations( self, input: Option<Vec<AllowedOperation>> ) -> Self
Granted operations.
sourcepub fn get_granted_operations(&self) -> &Option<Vec<AllowedOperation>>
pub fn get_granted_operations(&self) -> &Option<Vec<AllowedOperation>>
Granted operations.
sourcepub fn set_options(self, input: Option<Options>) -> Self
pub fn set_options(self, input: Option<Options>) -> Self
The options specified for the grant.
sourcepub fn get_options(&self) -> &Option<Options>
pub fn get_options(&self) -> &Option<Options>
The options specified for the grant.
Trait Implementations§
source§impl Clone for GrantBuilder
impl Clone for GrantBuilder
source§fn clone(&self) -> GrantBuilder
fn clone(&self) -> GrantBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GrantBuilder
impl Debug for GrantBuilder
source§impl Default for GrantBuilder
impl Default for GrantBuilder
source§fn default() -> GrantBuilder
fn default() -> GrantBuilder
source§impl PartialEq<GrantBuilder> for GrantBuilder
impl PartialEq<GrantBuilder> for GrantBuilder
source§fn eq(&self, other: &GrantBuilder) -> bool
fn eq(&self, other: &GrantBuilder) -> bool
self and other values to be equal, and is used
by ==.