@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateEnvironmentOperationsRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to add or change the operations role used by an environment.
NOOP
Constructor and Description |
---|
AssociateEnvironmentOperationsRoleRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateEnvironmentOperationsRoleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEnvironmentName()
The name of the environment to which to set the operations role.
|
String |
getOperationsRole()
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
|
int |
hashCode() |
void |
setEnvironmentName(String environmentName)
The name of the environment to which to set the operations role.
|
void |
setOperationsRole(String operationsRole)
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
|
String |
toString()
Returns a string representation of this object.
|
AssociateEnvironmentOperationsRoleRequest |
withEnvironmentName(String environmentName)
The name of the environment to which to set the operations role.
|
AssociateEnvironmentOperationsRoleRequest |
withOperationsRole(String operationsRole)
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public AssociateEnvironmentOperationsRoleRequest()
public void setEnvironmentName(String environmentName)
The name of the environment to which to set the operations role.
environmentName
- The name of the environment to which to set the operations role.public String getEnvironmentName()
The name of the environment to which to set the operations role.
public AssociateEnvironmentOperationsRoleRequest withEnvironmentName(String environmentName)
The name of the environment to which to set the operations role.
environmentName
- The name of the environment to which to set the operations role.public void setOperationsRole(String operationsRole)
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
operationsRole
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.public String getOperationsRole()
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
public AssociateEnvironmentOperationsRoleRequest withOperationsRole(String operationsRole)
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
operationsRole
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.public String toString()
toString
in class Object
Object.toString()
public AssociateEnvironmentOperationsRoleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()