@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentAccountConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentAccountConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentAccountConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
When included, if two identical requests are made with the same client token, Proton returns the environment
account connection that the first request created.
|
String |
getEnvironmentName()
The name of the Proton environment that's created in the associated management account.
|
String |
getManagementAccountId()
The ID of the management account that accepts or rejects the environment account connection.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account.
|
List<Tag> |
getTags()
Tags for your environment account connection.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment
account connection that the first request created.
|
void |
setEnvironmentName(String environmentName)
The name of the Proton environment that's created in the associated management account.
|
void |
setManagementAccountId(String managementAccountId)
The ID of the management account that accepts or rejects the environment account connection.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account.
|
void |
setTags(Collection<Tag> tags)
Tags for your environment account connection.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentAccountConnectionRequest |
withClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment
account connection that the first request created.
|
CreateEnvironmentAccountConnectionRequest |
withEnvironmentName(String environmentName)
The name of the Proton environment that's created in the associated management account.
|
CreateEnvironmentAccountConnectionRequest |
withManagementAccountId(String managementAccountId)
The ID of the management account that accepts or rejects the environment account connection.
|
CreateEnvironmentAccountConnectionRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account.
|
CreateEnvironmentAccountConnectionRequest |
withTags(Collection<Tag> tags)
Tags for your environment account connection.
|
CreateEnvironmentAccountConnectionRequest |
withTags(Tag... tags)
Tags for your environment account connection.
|
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 CreateEnvironmentAccountConnectionRequest()
public void setClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
clientToken
- When included, if two identical requests are made with the same client token, Proton returns the
environment account connection that the first request created.public String getClientToken()
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
public CreateEnvironmentAccountConnectionRequest withClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
clientToken
- When included, if two identical requests are made with the same client token, Proton returns the
environment account connection that the first request created.public void setEnvironmentName(String environmentName)
The name of the Proton environment that's created in the associated management account.
environmentName
- The name of the Proton environment that's created in the associated management account.public String getEnvironmentName()
The name of the Proton environment that's created in the associated management account.
public CreateEnvironmentAccountConnectionRequest withEnvironmentName(String environmentName)
The name of the Proton environment that's created in the associated management account.
environmentName
- The name of the Proton environment that's created in the associated management account.public void setManagementAccountId(String managementAccountId)
The ID of the management account that accepts or rejects the environment account connection. You create an manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
managementAccountId
- The ID of the management account that accepts or rejects the environment account connection. You create an
manage the Proton environment in this account. If the management account accepts the environment account
connection, Proton can use the associated IAM role to provision environment infrastructure resources in
the associated environment account.public String getManagementAccountId()
The ID of the management account that accepts or rejects the environment account connection. You create an manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
public CreateEnvironmentAccountConnectionRequest withManagementAccountId(String managementAccountId)
The ID of the management account that accepts or rejects the environment account connection. You create an manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
managementAccountId
- The ID of the management account that accepts or rejects the environment account connection. You create an
manage the Proton environment in this account. If the management account accepts the environment account
connection, Proton can use the associated IAM role to provision environment infrastructure resources in
the associated environment account.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
roleArn
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton
uses this role to provision infrastructure resources in the associated environment account.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
public CreateEnvironmentAccountConnectionRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
roleArn
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton
uses this role to provision infrastructure resources in the associated environment account.public List<Tag> getTags()
Tags for your environment account connection. For more information, see Proton resources and tagging in the Proton Administrator Guide.
public void setTags(Collection<Tag> tags)
Tags for your environment account connection. For more information, see Proton resources and tagging in the Proton Administrator Guide.
tags
- Tags for your environment account connection. For more information, see Proton resources and
tagging in the Proton Administrator Guide.public CreateEnvironmentAccountConnectionRequest withTags(Tag... tags)
Tags for your environment account connection. For more information, see Proton resources and tagging in the Proton Administrator Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags for your environment account connection. For more information, see Proton resources and
tagging in the Proton Administrator Guide.public CreateEnvironmentAccountConnectionRequest withTags(Collection<Tag> tags)
Tags for your environment account connection. For more information, see Proton resources and tagging in the Proton Administrator Guide.
tags
- Tags for your environment account connection. For more information, see Proton resources and
tagging in the Proton Administrator Guide.public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentAccountConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()