Class Options

    • 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 ACTIVE for the Status parameter.

        • As a license administrator, you can optionally specify an ActivationOverrideBehavior when activating a grant.

        • As a grantor, you can optionally specify an ActivationOverrideBehavior when 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, activationOverrideBehavior will return ActivationOverrideBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from activationOverrideBehaviorAsString().

        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 ACTIVE for the Status parameter.

        • As a license administrator, you can optionally specify an ActivationOverrideBehavior when activating a grant.

        • As a grantor, you can optionally specify an ActivationOverrideBehavior when 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 ACTIVE for the Status parameter.

        • As a license administrator, you can optionally specify an ActivationOverrideBehavior when activating a grant.

        • As a grantor, you can optionally specify an ActivationOverrideBehavior when 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, activationOverrideBehavior will return ActivationOverrideBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from activationOverrideBehaviorAsString().

        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 ACTIVE for the Status parameter.

        • As a license administrator, you can optionally specify an ActivationOverrideBehavior when activating a grant.

        • As a grantor, you can optionally specify an ActivationOverrideBehavior when 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
      • serializableBuilderClass

        public static Class<? extends Options.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)