public class CreateInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 the IAM User Guide .
NOOP| Constructor and Description |
|---|
CreateInstanceProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateInstanceProfileRequest |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceProfileName()
The name of the instance profile to create.
|
String |
getPath()
The path to the instance profile.
|
int |
hashCode() |
void |
setInstanceProfileName(String instanceProfileName)
The 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)
The name of the instance profile to create.
|
CreateInstanceProfileRequest |
withPath(String path)
The path to the instance profile.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getInstanceProfileName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
public void setInstanceProfileName(String instanceProfileName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
instanceProfileName - The 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 - The 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: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
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: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
path - The path to the instance profile. For more information about paths,
see IAM
Identifiers in the Using IAM guide. 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: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
path - The path to the instance profile. For more information about paths,
see IAM
Identifiers in the Using IAM guide. This parameter is optional. If it is not included, it defaults to a slash (/).
public String toString()
toString in class ObjectObject.toString()public CreateInstanceProfileRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.