Interface SetSecurityTokenServicePreferencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetSecurityTokenServicePreferencesRequest.Builder,,SetSecurityTokenServicePreferencesRequest> IamRequest.Builder,SdkBuilder<SetSecurityTokenServicePreferencesRequest.Builder,,SetSecurityTokenServicePreferencesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SetSecurityTokenServicePreferencesRequest
-
Method Summary
Modifier and TypeMethodDescriptionglobalEndpointTokenVersion(String globalEndpointTokenVersion) The version of the global endpoint token.globalEndpointTokenVersion(GlobalEndpointTokenVersion globalEndpointTokenVersion) The version of the global endpoint token.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
globalEndpointTokenVersion
SetSecurityTokenServicePreferencesRequest.Builder globalEndpointTokenVersion(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
SetSecurityTokenServicePreferencesRequest.Builder globalEndpointTokenVersion(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:
-
overrideConfiguration
SetSecurityTokenServicePreferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetSecurityTokenServicePreferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-