|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.identitymanagement.model.InstanceProfile
public class InstanceProfile
The InstanceProfile data type contains information about an instance profile.
This data type is used as a response element in the following actions:
CreateInstanceProfile
GetInstanceProfile
ListInstanceProfiles
ListInstanceProfilesForRole
Constructor Summary | |
---|---|
InstanceProfile()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getArn()
The Amazon Resource Name (ARN) specifying the instance profile. |
Date |
getCreateDate()
The date when the instance profile was created. |
String |
getInstanceProfileId()
The stable and unique string identifying the instance profile. |
String |
getInstanceProfileName()
The name identifying the instance profile. |
String |
getPath()
Path to the instance profile. |
List<Role> |
getRoles()
The role associated with the instance profile. |
int |
hashCode()
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) specifying the instance profile. |
void |
setCreateDate(Date createDate)
The date when the instance profile was created. |
void |
setInstanceProfileId(String instanceProfileId)
The stable and unique string identifying the instance profile. |
void |
setInstanceProfileName(String instanceProfileName)
The name identifying the instance profile. |
void |
setPath(String path)
Path to the instance profile. |
void |
setRoles(Collection<Role> roles)
The role associated with the instance profile. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceProfile |
withArn(String arn)
The Amazon Resource Name (ARN) specifying the instance profile. |
InstanceProfile |
withCreateDate(Date createDate)
The date when the instance profile was created. |
InstanceProfile |
withInstanceProfileId(String instanceProfileId)
The stable and unique string identifying the instance profile. |
InstanceProfile |
withInstanceProfileName(String instanceProfileName)
The name identifying the instance profile. |
InstanceProfile |
withPath(String path)
Path to the instance profile. |
InstanceProfile |
withRoles(Collection<Role> roles)
The role associated with the instance profile. |
InstanceProfile |
withRoles(Role... roles)
The role associated with the instance profile. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceProfile()
Method Detail |
---|
public String getPath()
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
public void setPath(String path)
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.public InstanceProfile withPath(String path)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public String getInstanceProfileName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setInstanceProfileName(String instanceProfileName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName
- The name identifying the instance profile.public InstanceProfile withInstanceProfileName(String instanceProfileName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName
- The name identifying the instance profile.
public String getInstanceProfileId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setInstanceProfileId(String instanceProfileId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
instanceProfileId
- The stable and unique string identifying the instance profile. For
more information about IDs, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.public InstanceProfile withInstanceProfileId(String instanceProfileId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 - 32
Pattern: [\w]*
instanceProfileId
- The stable and unique string identifying the instance profile. For
more information about IDs, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public String getArn()
Constraints:
Length: 20 - 2048
public void setArn(String arn)
Constraints:
Length: 20 - 2048
arn
- The Amazon Resource Name (ARN) specifying the instance profile. For
more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.public InstanceProfile withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
arn
- The Amazon Resource Name (ARN) specifying the instance profile. For
more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The date when the instance profile was created.public InstanceProfile withCreateDate(Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate
- The date when the instance profile was created.
public List<Role> getRoles()
public void setRoles(Collection<Role> roles)
roles
- The role associated with the instance profile.public InstanceProfile withRoles(Role... roles)
Returns a reference to this object so that method calls can be chained together.
roles
- The role associated with the instance profile.
public InstanceProfile withRoles(Collection<Role> roles)
Returns a reference to this object so that method calls can be chained together.
roles
- The role associated with the instance profile.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |