Struct aws_sdk_licensemanager::types::builders::OptionsBuilder
source · #[non_exhaustive]pub struct OptionsBuilder { /* private fields */ }Expand description
A builder for Options.
Implementations§
source§impl OptionsBuilder
impl OptionsBuilder
sourcepub fn activation_override_behavior(
self,
input: ActivationOverrideBehavior
) -> Self
pub fn activation_override_behavior( self, input: ActivationOverrideBehavior ) -> Self
An activation option for your grant that determines the behavior of activating a grant. Activation options can only be used with granted licenses sourced from the Amazon Web Services Marketplace. Additionally, the operation must specify the value of ACTIVE for the Status parameter.
-
As a license administrator, you can optionally specify an
ActivationOverrideBehaviorwhen activating a grant. -
As a grantor, you can optionally specify an
ActivationOverrideBehaviorwhen you activate a grant for a grantee account in your organization. -
As a grantee, if the grantor creating the distributed grant doesn’t specify an
ActivationOverrideBehavior, you can optionally specify one when you are activating the grant.
- DISTRIBUTED_GRANTS_ONLY
-
Use this value to activate a grant without replacing any member account’s active grants for the same product.
- ALL_GRANTS_PERMITTED_BY_ISSUER
-
Use this value to activate a grant and disable other active grants in any member accounts for the same product. This action will also replace their previously activated grants with this activated grant.
sourcepub fn set_activation_override_behavior(
self,
input: Option<ActivationOverrideBehavior>
) -> Self
pub fn set_activation_override_behavior( self, input: Option<ActivationOverrideBehavior> ) -> Self
An activation option for your grant that determines the behavior of activating a grant. Activation options can only be used with granted licenses sourced from the Amazon Web Services Marketplace. Additionally, the operation must specify the value of ACTIVE for the Status parameter.
-
As a license administrator, you can optionally specify an
ActivationOverrideBehaviorwhen activating a grant. -
As a grantor, you can optionally specify an
ActivationOverrideBehaviorwhen you activate a grant for a grantee account in your organization. -
As a grantee, if the grantor creating the distributed grant doesn’t specify an
ActivationOverrideBehavior, you can optionally specify one when you are activating the grant.
- DISTRIBUTED_GRANTS_ONLY
-
Use this value to activate a grant without replacing any member account’s active grants for the same product.
- ALL_GRANTS_PERMITTED_BY_ISSUER
-
Use this value to activate a grant and disable other active grants in any member accounts for the same product. This action will also replace their previously activated grants with this activated grant.
sourcepub fn get_activation_override_behavior(
&self
) -> &Option<ActivationOverrideBehavior>
pub fn get_activation_override_behavior( &self ) -> &Option<ActivationOverrideBehavior>
An activation option for your grant that determines the behavior of activating a grant. Activation options can only be used with granted licenses sourced from the Amazon Web Services Marketplace. Additionally, the operation must specify the value of ACTIVE for the Status parameter.
-
As a license administrator, you can optionally specify an
ActivationOverrideBehaviorwhen activating a grant. -
As a grantor, you can optionally specify an
ActivationOverrideBehaviorwhen you activate a grant for a grantee account in your organization. -
As a grantee, if the grantor creating the distributed grant doesn’t specify an
ActivationOverrideBehavior, you can optionally specify one when you are activating the grant.
- DISTRIBUTED_GRANTS_ONLY
-
Use this value to activate a grant without replacing any member account’s active grants for the same product.
- ALL_GRANTS_PERMITTED_BY_ISSUER
-
Use this value to activate a grant and disable other active grants in any member accounts for the same product. This action will also replace their previously activated grants with this activated grant.
Trait Implementations§
source§impl Clone for OptionsBuilder
impl Clone for OptionsBuilder
source§fn clone(&self) -> OptionsBuilder
fn clone(&self) -> OptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OptionsBuilder
impl Debug for OptionsBuilder
source§impl Default for OptionsBuilder
impl Default for OptionsBuilder
source§fn default() -> OptionsBuilder
fn default() -> OptionsBuilder
source§impl PartialEq for OptionsBuilder
impl PartialEq for OptionsBuilder
source§fn eq(&self, other: &OptionsBuilder) -> bool
fn eq(&self, other: &OptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.