@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 identicial requests are made with the same client token, AWS Proton returns the environment
account connection that the first request created.
|
String |
getEnvironmentName()
The name of the AWS 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.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment
account connection that the first request created.
|
void |
setEnvironmentName(String environmentName)
The name of the AWS 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.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentAccountConnectionRequest |
withClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment
account connection that the first request created.
|
CreateEnvironmentAccountConnectionRequest |
withEnvironmentName(String environmentName)
The name of the AWS 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.
|
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 identicial requests are made with the same client token, AWS Proton returns the environment account connection that the first request created.
clientToken
- When included, if two identicial requests are made with the same client token, AWS Proton returns the
environment account connection that the first request created.public String getClientToken()
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment account connection that the first request created.
public CreateEnvironmentAccountConnectionRequest withClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment account connection that the first request created.
clientToken
- When included, if two identicial requests are made with the same client token, AWS Proton returns the
environment account connection that the first request created.public void setEnvironmentName(String environmentName)
The name of the AWS Proton environment that's created in the associated management account.
environmentName
- The name of the AWS Proton environment that's created in the associated management account.public String getEnvironmentName()
The name of the AWS Proton environment that's created in the associated management account.
public CreateEnvironmentAccountConnectionRequest withEnvironmentName(String environmentName)
The name of the AWS Proton environment that's created in the associated management account.
environmentName
- The name of the AWS 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 AWS Proton environment in this account. If the management account accepts the environment account connection, AWS 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 AWS Proton environment in this account. If the management account accepts the environment
account connection, AWS 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 AWS Proton environment in this account. If the management account accepts the environment account connection, AWS 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 AWS Proton environment in this account. If the management account accepts the environment account connection, AWS 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 AWS Proton environment in this account. If the management account accepts the environment
account connection, AWS 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. AWS 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. AWS
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. AWS 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. AWS 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. AWS
Proton uses this role to provision infrastructure resources in the associated environment account.public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentAccountConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()