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.
credentialDurationSeconds
- How long (in seconds) the credentials will be valid.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..."
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateRoleAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateRoleAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.