|
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.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.CreateInstanceProfileRequest
public class CreateInstanceProfileRequest
Container for the parameters to the CreateInstanceProfile operation
.
Creates a new instance profile. For information about instance profiles, go to About Instance Profiles .
For information about the number of instance profiles you can create, see Limitations on IAM Entities in Using AWS Identity and Access Management .
AmazonIdentityManagement.createInstanceProfile(CreateInstanceProfileRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateInstanceProfileRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getInstanceProfileName()
Name of the instance profile to create. |
String |
getPath()
The path to the instance profile. |
int |
hashCode()
|
void |
setInstanceProfileName(String instanceProfileName)
Name of the instance profile to create. |
void |
setPath(String path)
The path to the instance profile. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
Name of the instance profile to create. |
CreateInstanceProfileRequest |
withPath(String path)
The path to the instance profile. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateInstanceProfileRequest()
Method Detail |
---|
public String getInstanceProfileName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setInstanceProfileName(String instanceProfileName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName
- Name of the instance profile to create.public CreateInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName
- Name of the instance profile to create.
public String getPath()
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
This parameter is optional. If it is not included, it defaults to a slash (/).
public void setPath(String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- The path to the instance profile. For more information about paths,
see Identifiers for IAM Entities in Using AWS
Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).
public CreateInstanceProfileRequest withPath(String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- The path to the instance profile. For more information about paths,
see Identifiers for IAM Entities in Using AWS
Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).
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 |