public class AddRoleToInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AddRoleToInstanceProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddRoleToInstanceProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getInstanceProfileName()
The name of the instance profile to update.
|
String |
getRoleName()
The name of the role to add.
|
int |
hashCode() |
void |
setInstanceProfileName(String instanceProfileName)
The name of the instance profile to update.
|
void |
setRoleName(String roleName)
The name of the role to add.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddRoleToInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
The name of the instance profile to update.
|
AddRoleToInstanceProfileRequest |
withRoleName(String roleName)
The name of the role to add.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setInstanceProfileName(String instanceProfileName)
The name of the instance profile to update.
instanceProfileName - The name of the instance profile to update.public String getInstanceProfileName()
The name of the instance profile to update.
public AddRoleToInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
The name of the instance profile to update.
instanceProfileName - The name of the instance profile to update.public void setRoleName(String roleName)
The name of the role to add.
roleName - The name of the role to add.public String getRoleName()
The name of the role to add.
public AddRoleToInstanceProfileRequest withRoleName(String roleName)
The name of the role to add.
roleName - The name of the role to add.public String toString()
toString in class ObjectObject.toString()public AddRoleToInstanceProfileRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.