ToCopyableBuilder<InstanceProfile.Builder,InstanceProfile>
@Generated("software.amazon.awssdk:codegen") public class InstanceProfile extends Object implements ToCopyableBuilder<InstanceProfile.Builder,InstanceProfile>
Contains information about an instance profile.
This data type is used as a response element in the following actions:
Modifier and Type | Class | Description |
---|---|---|
static interface |
InstanceProfile.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The Amazon Resource Name (ARN) specifying the instance profile.
|
static InstanceProfile.Builder |
builder() |
|
Date |
createDate() |
The date when the instance profile was created.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceProfileId() |
The stable and unique string identifying the instance profile.
|
String |
instanceProfileName() |
The name identifying the instance profile.
|
String |
path() |
The path to the instance profile.
|
List<Role> |
roles() |
The role associated with the instance profile.
|
static Class<? extends InstanceProfile.Builder> |
serializableBuilderClass() |
|
InstanceProfile.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String path()
The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.
public String instanceProfileName()
The name identifying the instance profile.
public String instanceProfileId()
The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.
public String arn()
The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
public Date createDate()
The date when the instance profile was created.
public List<Role> roles()
The role associated with the instance profile.
public InstanceProfile.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceProfile.Builder,InstanceProfile>
public static InstanceProfile.Builder builder()
public static Class<? extends InstanceProfile.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.