Interface Options.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Options.Builder,Options>, SdkBuilder<Options.Builder,Options>, SdkPojo
Enclosing class:
Options

@Mutable @NotThreadSafe public static interface Options.Builder extends SdkPojo, CopyableBuilder<Options.Builder,Options>
  • Method Details

    • activationOverrideBehavior

      Options.Builder activationOverrideBehavior(String 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 activate the grant. For the CreateGrantVersion operation, specify ACTIVE for the Status parameter. For the CreateGrant operation, specify ACTIVE for the DesiredStatus option.

      • 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.

      Parameters:
      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 activate the grant. For the CreateGrantVersion operation, specify ACTIVE for the Status parameter. For the CreateGrant operation, specify ACTIVE for the DesiredStatus option.

      • 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activationOverrideBehavior

      Options.Builder activationOverrideBehavior(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 activate the grant. For the CreateGrantVersion operation, specify ACTIVE for the Status parameter. For the CreateGrant operation, specify ACTIVE for the DesiredStatus option.

      • 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.

      Parameters:
      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 activate the grant. For the CreateGrantVersion operation, specify ACTIVE for the Status parameter. For the CreateGrant operation, specify ACTIVE for the DesiredStatus option.

      • 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredStatus

      Options.Builder desiredStatus(String desiredStatus)

      The status of the grant after License Manager creates it. The only supported value is ACTIVE. Specify ACTIVE to create and activate the grant in one request.

      You can specify this option only for the CreateGrant operation, and only when the grant principal is an organization or an organizational unit (OU). To change the status of an existing grant, use the Status parameter of the CreateGrantVersion operation.

      Parameters:
      desiredStatus - The status of the grant after License Manager creates it. The only supported value is ACTIVE. Specify ACTIVE to create and activate the grant in one request.

      You can specify this option only for the CreateGrant operation, and only when the grant principal is an organization or an organizational unit (OU). To change the status of an existing grant, use the Status parameter of the CreateGrantVersion operation.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredStatus

      Options.Builder desiredStatus(GrantStatus desiredStatus)

      The status of the grant after License Manager creates it. The only supported value is ACTIVE. Specify ACTIVE to create and activate the grant in one request.

      You can specify this option only for the CreateGrant operation, and only when the grant principal is an organization or an organizational unit (OU). To change the status of an existing grant, use the Status parameter of the CreateGrantVersion operation.

      Parameters:
      desiredStatus - The status of the grant after License Manager creates it. The only supported value is ACTIVE. Specify ACTIVE to create and activate the grant in one request.

      You can specify this option only for the CreateGrant operation, and only when the grant principal is an organization or an organizational unit (OU). To change the status of an existing grant, use the Status parameter of the CreateGrantVersion operation.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: