Interface UpdateRoleAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRoleAliasRequest.Builder,,UpdateRoleAliasRequest> IotRequest.Builder,SdkBuilder<UpdateRoleAliasRequest.Builder,,UpdateRoleAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRoleAliasRequest
public static interface UpdateRoleAliasRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateRoleAliasRequest.Builder,UpdateRoleAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialDurationSeconds(Integer credentialDurationSeconds) The number of seconds the credential will be valid.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The role alias to update.The role ARN.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.iot.model.IotRequest.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
-
roleAlias
The role alias to update.
- Parameters:
roleAlias- The role alias to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The role ARN.
- Parameters:
roleArn- The role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialDurationSeconds
The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
- Parameters:
credentialDurationSeconds- The number of seconds the credential will be valid.This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRoleAliasRequest.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
UpdateRoleAliasRequest.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.
-