@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentAccountConnection extends Object implements Serializable, Cloneable, StructuredPojo
Detailed data of an Proton environment account connection resource.
Constructor and Description |
---|
EnvironmentAccountConnection() |
Modifier and Type | Method and Description |
---|---|
EnvironmentAccountConnection |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the environment account connection.
|
String |
getCodebuildRoleArn()
The Amazon Resource Name (ARN) of an IAM service role in the environment account.
|
String |
getComponentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in the associated environment account.
|
String |
getEnvironmentAccountId()
The environment account that's connected to the environment account connection.
|
String |
getEnvironmentName()
The name of the environment that's associated with the environment account connection.
|
String |
getId()
The ID of the environment account connection.
|
Date |
getLastModifiedAt()
The time when the environment account connection was last modified.
|
String |
getManagementAccountId()
The ID of the management account that's connected to the environment account connection.
|
Date |
getRequestedAt()
The time when the environment account connection request was made.
|
String |
getRoleArn()
The IAM service role that's associated with the environment account connection.
|
String |
getStatus()
The status of the environment account connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the environment account connection.
|
void |
setCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of an IAM service role in the environment account.
|
void |
setComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in the associated environment account.
|
void |
setEnvironmentAccountId(String environmentAccountId)
The environment account that's connected to the environment account connection.
|
void |
setEnvironmentName(String environmentName)
The name of the environment that's associated with the environment account connection.
|
void |
setId(String id)
The ID of the environment account connection.
|
void |
setLastModifiedAt(Date lastModifiedAt)
The time when the environment account connection was last modified.
|
void |
setManagementAccountId(String managementAccountId)
The ID of the management account that's connected to the environment account connection.
|
void |
setRequestedAt(Date requestedAt)
The time when the environment account connection request was made.
|
void |
setRoleArn(String roleArn)
The IAM service role that's associated with the environment account connection.
|
void |
setStatus(String status)
The status of the environment account connection.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentAccountConnection |
withArn(String arn)
The Amazon Resource Name (ARN) of the environment account connection.
|
EnvironmentAccountConnection |
withCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of an IAM service role in the environment account.
|
EnvironmentAccountConnection |
withComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in the associated environment account.
|
EnvironmentAccountConnection |
withEnvironmentAccountId(String environmentAccountId)
The environment account that's connected to the environment account connection.
|
EnvironmentAccountConnection |
withEnvironmentName(String environmentName)
The name of the environment that's associated with the environment account connection.
|
EnvironmentAccountConnection |
withId(String id)
The ID of the environment account connection.
|
EnvironmentAccountConnection |
withLastModifiedAt(Date lastModifiedAt)
The time when the environment account connection was last modified.
|
EnvironmentAccountConnection |
withManagementAccountId(String managementAccountId)
The ID of the management account that's connected to the environment account connection.
|
EnvironmentAccountConnection |
withRequestedAt(Date requestedAt)
The time when the environment account connection request was made.
|
EnvironmentAccountConnection |
withRoleArn(String roleArn)
The IAM service role that's associated with the environment account connection.
|
EnvironmentAccountConnection |
withStatus(EnvironmentAccountConnectionStatus status)
The status of the environment account connection.
|
EnvironmentAccountConnection |
withStatus(String status)
The status of the environment account connection.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the environment account connection.
arn
- The Amazon Resource Name (ARN) of the environment account connection.public String getArn()
The Amazon Resource Name (ARN) of the environment account connection.
public EnvironmentAccountConnection withArn(String arn)
The Amazon Resource Name (ARN) of the environment account connection.
arn
- The Amazon Resource Name (ARN) of the environment account connection.public void setCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
codebuildRoleArn
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to
provision infrastructure resources using CodeBuild-based provisioning in the associated environment
account.public String getCodebuildRoleArn()
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
public EnvironmentAccountConnection withCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
codebuildRoleArn
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to
provision infrastructure resources using CodeBuild-based provisioning in the associated environment
account.public void setComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components
to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
componentRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in the associated environment account. It determines the scope of infrastructure that a
component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined
components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
public String getComponentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components
to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
The environment account connection must have a componentRoleArn
to allow directly defined
components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
public EnvironmentAccountConnection withComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components
to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
componentRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in the associated environment account. It determines the scope of infrastructure that a
component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined
components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
public void setEnvironmentAccountId(String environmentAccountId)
The environment account that's connected to the environment account connection.
environmentAccountId
- The environment account that's connected to the environment account connection.public String getEnvironmentAccountId()
The environment account that's connected to the environment account connection.
public EnvironmentAccountConnection withEnvironmentAccountId(String environmentAccountId)
The environment account that's connected to the environment account connection.
environmentAccountId
- The environment account that's connected to the environment account connection.public void setEnvironmentName(String environmentName)
The name of the environment that's associated with the environment account connection.
environmentName
- The name of the environment that's associated with the environment account connection.public String getEnvironmentName()
The name of the environment that's associated with the environment account connection.
public EnvironmentAccountConnection withEnvironmentName(String environmentName)
The name of the environment that's associated with the environment account connection.
environmentName
- The name of the environment that's associated with the environment account connection.public void setId(String id)
The ID of the environment account connection.
id
- The ID of the environment account connection.public String getId()
The ID of the environment account connection.
public EnvironmentAccountConnection withId(String id)
The ID of the environment account connection.
id
- The ID of the environment account connection.public void setLastModifiedAt(Date lastModifiedAt)
The time when the environment account connection was last modified.
lastModifiedAt
- The time when the environment account connection was last modified.public Date getLastModifiedAt()
The time when the environment account connection was last modified.
public EnvironmentAccountConnection withLastModifiedAt(Date lastModifiedAt)
The time when the environment account connection was last modified.
lastModifiedAt
- The time when the environment account connection was last modified.public void setManagementAccountId(String managementAccountId)
The ID of the management account that's connected to the environment account connection.
managementAccountId
- The ID of the management account that's connected to the environment account connection.public String getManagementAccountId()
The ID of the management account that's connected to the environment account connection.
public EnvironmentAccountConnection withManagementAccountId(String managementAccountId)
The ID of the management account that's connected to the environment account connection.
managementAccountId
- The ID of the management account that's connected to the environment account connection.public void setRequestedAt(Date requestedAt)
The time when the environment account connection request was made.
requestedAt
- The time when the environment account connection request was made.public Date getRequestedAt()
The time when the environment account connection request was made.
public EnvironmentAccountConnection withRequestedAt(Date requestedAt)
The time when the environment account connection request was made.
requestedAt
- The time when the environment account connection request was made.public void setRoleArn(String roleArn)
The IAM service role that's associated with the environment account connection.
roleArn
- The IAM service role that's associated with the environment account connection.public String getRoleArn()
The IAM service role that's associated with the environment account connection.
public EnvironmentAccountConnection withRoleArn(String roleArn)
The IAM service role that's associated with the environment account connection.
roleArn
- The IAM service role that's associated with the environment account connection.public void setStatus(String status)
The status of the environment account connection.
status
- The status of the environment account connection.EnvironmentAccountConnectionStatus
public String getStatus()
The status of the environment account connection.
EnvironmentAccountConnectionStatus
public EnvironmentAccountConnection withStatus(String status)
The status of the environment account connection.
status
- The status of the environment account connection.EnvironmentAccountConnectionStatus
public EnvironmentAccountConnection withStatus(EnvironmentAccountConnectionStatus status)
The status of the environment account connection.
status
- The status of the environment account connection.EnvironmentAccountConnectionStatus
public String toString()
toString
in class Object
Object.toString()
public EnvironmentAccountConnection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.