@Generated(value="software.amazon.awssdk:codegen") public final class AwsIamInstanceProfileRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsIamInstanceProfileRole.Builder,AwsIamInstanceProfileRole>
Information about a role associated with an instance profile.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsIamInstanceProfileRole.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the role.
|
String |
assumeRolePolicyDocument()
The policy that grants an entity permission to assume the role.
|
static AwsIamInstanceProfileRole.Builder |
builder() |
String |
createDate()
Indicates when the role was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
path()
The path to the role.
|
String |
roleId()
The identifier of the role.
|
String |
roleName()
The name of the role.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsIamInstanceProfileRole.Builder> |
serializableBuilderClass() |
AwsIamInstanceProfileRole.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the role.
public final String assumeRolePolicyDocument()
The policy that grants an entity permission to assume the role.
public final String createDate()
Indicates when the role was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final String path()
The path to the role.
public final String roleId()
The identifier of the role.
public final String roleName()
The name of the role.
public AwsIamInstanceProfileRole.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsIamInstanceProfileRole.Builder,AwsIamInstanceProfileRole>public static AwsIamInstanceProfileRole.Builder builder()
public static Class<? extends AwsIamInstanceProfileRole.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.