Interface CreateRoleAliasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRoleAliasRequest.Builder,CreateRoleAliasRequest>,IotRequest.Builder,SdkBuilder<CreateRoleAliasRequest.Builder,CreateRoleAliasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRoleAliasRequest
public static interface CreateRoleAliasRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateRoleAliasRequest.Builder,CreateRoleAliasRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRoleAliasRequest.BuildercredentialDurationSeconds(Integer credentialDurationSeconds)How long (in seconds) the credentials will be valid.CreateRoleAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRoleAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRoleAliasRequest.BuilderroleAlias(String roleAlias)The role alias that points to a role ARN.CreateRoleAliasRequest.BuilderroleArn(String roleArn)The role ARN.CreateRoleAliasRequest.Buildertags(Collection<Tag> tags)Metadata which can be used to manage the role alias.CreateRoleAliasRequest.Buildertags(Consumer<Tag.Builder>... tags)Metadata which can be used to manage the role alias.CreateRoleAliasRequest.Buildertags(Tag... tags)Metadata which can be used to manage the role alias.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
roleAlias
CreateRoleAliasRequest.Builder roleAlias(String roleAlias)
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
- Parameters:
roleAlias- The role alias that points to a role ARN. This allows you to change the role without having to update the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateRoleAliasRequest.Builder roleArn(String 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
CreateRoleAliasRequest.Builder credentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
- Parameters:
credentialDurationSeconds- How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.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.
-
tags
CreateRoleAliasRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Parameters:
tags- Metadata which can be used to manage the role alias.For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRoleAliasRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Parameters:
tags- Metadata which can be used to manage the role alias.For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRoleAliasRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the role alias.
This is a convenience method that creates an instance of theFor URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateRoleAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRoleAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-