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.Builder
credentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.CreateRoleAliasRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateRoleAliasRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateRoleAliasRequest.Builder
roleAlias(String roleAlias)
The role alias that points to a role ARN.CreateRoleAliasRequest.Builder
roleArn(String roleArn)
The role ARN.CreateRoleAliasRequest.Builder
tags(Collection<Tag> tags)
Metadata which can be used to manage the role alias.CreateRoleAliasRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the role alias.CreateRoleAliasRequest.Builder
tags(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.
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..."
Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRoleAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-