Class AwsIamInstanceProfileRole
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsIamInstanceProfileRole
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsIamInstanceProfileRole.Builder,AwsIamInstanceProfileRole>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsIamInstanceProfileRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the role.StringassumeRolePolicyDocument()The policy that grants an entity permission to assume the role.static AwsIamInstanceProfileRole.Builderbuilder()StringcreateDate()Indicates when the role was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpath()The path to the role.StringroleId()The identifier of the role.StringroleName()The name of the role.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsIamInstanceProfileRole.Builder>serializableBuilderClass()AwsIamInstanceProfileRole.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN of the role.
- Returns:
- The ARN of the role.
-
assumeRolePolicyDocument
public final String assumeRolePolicyDocument()
The policy that grants an entity permission to assume the role.
- Returns:
- The policy that grants an entity permission to assume the role.
-
createDate
public final String createDate()
Indicates when the role was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Indicates when the role was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
path
public final String path()
The path to the role.
- Returns:
- The path to the role.
-
roleId
public final String roleId()
The identifier of the role.
- Returns:
- The identifier of the role.
-
roleName
public final String roleName()
The name of the role.
- Returns:
- The name of the role.
-
toBuilder
public AwsIamInstanceProfileRole.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsIamInstanceProfileRole.Builder,AwsIamInstanceProfileRole>
-
builder
public static AwsIamInstanceProfileRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsIamInstanceProfileRole.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-