Class Options
- java.lang.Object
-
- software.amazon.awssdk.services.licensemanager.model.Options
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Options.Builder,Options>
@Generated("software.amazon.awssdk:codegen") public final class Options extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Options.Builder,Options>
The options you can specify when you create a new version of a grant, such as activation override behavior. For more information, see Granted licenses in License Manager in the License Manager User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivationOverrideBehavioractivationOverrideBehavior()An activation option for your grant that determines the behavior of activating a grant.StringactivationOverrideBehaviorAsString()An activation option for your grant that determines the behavior of activating a grant.static Options.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Options.Builder>serializableBuilderClass()Options.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
activationOverrideBehavior
public final ActivationOverrideBehavior 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
ACTIVEfor theStatusparameter.-
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.
If the service returns an enum value that is not available in the current SDK version,
activationOverrideBehaviorwill returnActivationOverrideBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactivationOverrideBehaviorAsString().- Returns:
- 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
ACTIVEfor theStatusparameter.-
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.
-
- See Also:
ActivationOverrideBehavior
-
-
activationOverrideBehaviorAsString
public final String activationOverrideBehaviorAsString()
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
ACTIVEfor theStatusparameter.-
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.
If the service returns an enum value that is not available in the current SDK version,
activationOverrideBehaviorwill returnActivationOverrideBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactivationOverrideBehaviorAsString().- Returns:
- 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
ACTIVEfor theStatusparameter.-
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.
-
- See Also:
ActivationOverrideBehavior
-
-
toBuilder
public Options.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Options.Builder,Options>
-
builder
public static Options.Builder builder()
-
serializableBuilderClass
public static Class<? extends Options.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-