public static interface CreateRoleAliasRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateRoleAliasRequest.Builder,CreateRoleAliasRequest>
Modifier and Type | Method and Description |
---|---|
CreateRoleAliasRequest.Builder |
credentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
|
CreateRoleAliasRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRoleAliasRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
roleAlias
- The role alias that points to a role ARN. This allows you to change the role without having to update
the device.CreateRoleAliasRequest.Builder roleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.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.
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.
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..."
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..."
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..."
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..."
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 via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
CreateRoleAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateRoleAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.