public class CreateInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateInstanceProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceProfileRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceProfileName(String instanceProfileName)
The name of the instance profile to create.
instanceProfileName
- The name of the instance profile to create.public String getInstanceProfileName()
The name of the instance profile to create.
public CreateInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
The name of the instance profile to create.
instanceProfileName
- The name of the instance profile to create.public void setPath(String 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 (/).
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 getPath()
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 (/).
This parameter is optional. If it is not included, it defaults to a slash (/).
public CreateInstanceProfileRequest withPath(String 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 (/).
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 Object
Object.toString()
public CreateInstanceProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.