@Generated(value="software.amazon.awssdk:codegen") public final class CreateRoleAliasRequest extends IotRequest implements ToCopyableBuilder<CreateRoleAliasRequest.Builder,CreateRoleAliasRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateRoleAliasRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateRoleAliasRequest.Builder |
builder() |
Integer |
credentialDurationSeconds()
How long (in seconds) the credentials will be valid.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
roleAlias()
The role alias that points to a role ARN.
|
String |
roleArn()
The role ARN.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRoleAliasRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Metadata which can be used to manage the role alias.
|
CreateRoleAliasRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String roleAlias()
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
public final String roleArn()
The role ARN.
public final Integer credentialDurationSeconds()
How long (in seconds) the credentials will be valid.
public final boolean hasTags()
public final List<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..."
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
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..."
public CreateRoleAliasRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateRoleAliasRequest.Builder,CreateRoleAliasRequest>
toBuilder
in class IotRequest
public static CreateRoleAliasRequest.Builder builder()
public static Class<? extends CreateRoleAliasRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.