JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.identitymanagement.model

Class SetSecurityTokenServicePreferencesRequest

    • Constructor Detail

      • SetSecurityTokenServicePreferencesRequest

        public SetSecurityTokenServicePreferencesRequest()
    • Method Detail

      • setGlobalEndpointTokenVersion

        public void setGlobalEndpointTokenVersion(String globalEndpointTokenVersion)

        The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

        Parameters:
        globalEndpointTokenVersion - The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

        See Also:
        GlobalEndpointTokenVersion
      • getGlobalEndpointTokenVersion

        public String getGlobalEndpointTokenVersion()

        The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

        Returns:
        The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

        See Also:
        GlobalEndpointTokenVersion
      • withGlobalEndpointTokenVersion

        public SetSecurityTokenServicePreferencesRequest withGlobalEndpointTokenVersion(String globalEndpointTokenVersion)

        The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

        Parameters:
        globalEndpointTokenVersion - The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

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

        public SetSecurityTokenServicePreferencesRequest withGlobalEndpointTokenVersion(GlobalEndpointTokenVersion globalEndpointTokenVersion)

        The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

        Parameters:
        globalEndpointTokenVersion - The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.

        For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.

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

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /