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)
Add an optional request override configuration.
|
CreateRoleAliasRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateRoleAliasRequest.Builder |
roleAlias(String roleAlias)
The role alias that points to a role ARN.
|
CreateRoleAliasRequest.Builder |
roleArn(String roleArn)
The role ARN.
|
build
overrideConfiguration
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateRoleAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.