@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
Detailed data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the environment.
|
String |
getCodebuildRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
String |
getComponentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
Date |
getCreatedAt()
The time when the environment was created.
|
String |
getDeploymentStatus()
The environment deployment status.
|
String |
getDeploymentStatusMessage()
An environment deployment status message.
|
String |
getDescription()
The description of the environment.
|
String |
getEnvironmentAccountConnectionId()
The ID of the environment account connection that's used to provision infrastructure resources in an environment
account.
|
String |
getEnvironmentAccountId()
The ID of the environment account that the environment infrastructure resources are provisioned in.
|
String |
getLastAttemptedDeploymentId()
The ID of the last attempted deployment of this environment.
|
Date |
getLastDeploymentAttemptedAt()
The time when a deployment of the environment was last attempted.
|
Date |
getLastDeploymentSucceededAt()
The time when the environment was last deployed successfully.
|
String |
getLastSucceededDeploymentId()
The ID of the last successful deployment of this environment.
|
String |
getName()
The name of the environment.
|
String |
getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on
your behalf.
|
String |
getProvisioning()
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
|
RepositoryBranch |
getProvisioningRepository()
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.
|
String |
getSpec()
The environment spec.
|
String |
getTemplateMajorVersion()
The major version of the environment template.
|
String |
getTemplateMinorVersion()
The minor version of the environment template.
|
String |
getTemplateName()
The Amazon Resource Name (ARN) of the environment template.
|
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.
|
void |
setCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
void |
setComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
void |
setCreatedAt(Date createdAt)
The time when the environment was created.
|
void |
setDeploymentStatus(String deploymentStatus)
The environment deployment status.
|
void |
setDeploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
|
void |
setDescription(String description)
The description of the environment.
|
void |
setEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an environment
account.
|
void |
setEnvironmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
|
void |
setLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
|
void |
setLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
|
void |
setLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
|
void |
setLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
|
void |
setName(String name)
The name of the environment.
|
void |
setProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on
your behalf.
|
void |
setProvisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
|
void |
setProvisioningRepository(RepositoryBranch provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.
|
void |
setSpec(String spec)
The environment spec.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The major version of the environment template.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
|
void |
setTemplateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
|
String |
toString()
Returns a string representation of this object.
|
Environment |
withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
Environment |
withCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
Environment |
withComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
Environment |
withCreatedAt(Date createdAt)
The time when the environment was created.
|
Environment |
withDeploymentStatus(DeploymentStatus deploymentStatus)
The environment deployment status.
|
Environment |
withDeploymentStatus(String deploymentStatus)
The environment deployment status.
|
Environment |
withDeploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
|
Environment |
withDescription(String description)
The description of the environment.
|
Environment |
withEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an environment
account.
|
Environment |
withEnvironmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
|
Environment |
withLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
|
Environment |
withLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
|
Environment |
withLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
|
Environment |
withLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
|
Environment |
withName(String name)
The name of the environment.
|
Environment |
withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on
your behalf.
|
Environment |
withProvisioning(Provisioning provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
|
Environment |
withProvisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
|
Environment |
withProvisioningRepository(RepositoryBranch provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.
|
Environment |
withSpec(String spec)
The environment spec.
|
Environment |
withTemplateMajorVersion(String templateMajorVersion)
The major version of the environment template.
|
Environment |
withTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
|
Environment |
withTemplateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public String getArn()
The Amazon Resource Name (ARN) of the environment.
public Environment withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public void setCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
codebuildRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure
using CodeBuild-based provisioning on your behalf.public String getCodebuildRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
public Environment withCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
codebuildRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure
using CodeBuild-based provisioning on your behalf.public void setComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated
with the environment.
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 this environment. It determines the scope of infrastructure that a component can
provision.
The environment must have a componentRoleArn
to allow directly defined components to be
associated with the environment.
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 this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated
with the environment.
For more information about components, see Proton components in the Proton User Guide.
The environment must have a componentRoleArn
to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
public Environment withComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated
with the environment.
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 this environment. It determines the scope of infrastructure that a component can
provision.
The environment must have a componentRoleArn
to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
public void setCreatedAt(Date createdAt)
The time when the environment was created.
createdAt
- The time when the environment was created.public Date getCreatedAt()
The time when the environment was created.
public Environment withCreatedAt(Date createdAt)
The time when the environment was created.
createdAt
- The time when the environment was created.public void setDeploymentStatus(String deploymentStatus)
The environment deployment status.
deploymentStatus
- The environment deployment status.DeploymentStatus
public String getDeploymentStatus()
The environment deployment status.
DeploymentStatus
public Environment withDeploymentStatus(String deploymentStatus)
The environment deployment status.
deploymentStatus
- The environment deployment status.DeploymentStatus
public Environment withDeploymentStatus(DeploymentStatus deploymentStatus)
The environment deployment status.
deploymentStatus
- The environment deployment status.DeploymentStatus
public void setDeploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
deploymentStatusMessage
- An environment deployment status message.public String getDeploymentStatusMessage()
An environment deployment status message.
public Environment withDeploymentStatusMessage(String deploymentStatusMessage)
An environment deployment status message.
deploymentStatusMessage
- An environment deployment status message.public void setDescription(String description)
The description of the environment.
description
- The description of the environment.public String getDescription()
The description of the environment.
public Environment withDescription(String description)
The description of the environment.
description
- The description of the environment.public void setEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
environmentAccountConnectionId
- The ID of the environment account connection that's used to provision infrastructure resources in an
environment account.public String getEnvironmentAccountConnectionId()
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
public Environment withEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
environmentAccountConnectionId
- The ID of the environment account connection that's used to provision infrastructure resources in an
environment account.public void setEnvironmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
environmentAccountId
- The ID of the environment account that the environment infrastructure resources are provisioned in.public String getEnvironmentAccountId()
The ID of the environment account that the environment infrastructure resources are provisioned in.
public Environment withEnvironmentAccountId(String environmentAccountId)
The ID of the environment account that the environment infrastructure resources are provisioned in.
environmentAccountId
- The ID of the environment account that the environment infrastructure resources are provisioned in.public void setLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
lastAttemptedDeploymentId
- The ID of the last attempted deployment of this environment.public String getLastAttemptedDeploymentId()
The ID of the last attempted deployment of this environment.
public Environment withLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this environment.
lastAttemptedDeploymentId
- The ID of the last attempted deployment of this environment.public void setLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
lastDeploymentAttemptedAt
- The time when a deployment of the environment was last attempted.public Date getLastDeploymentAttemptedAt()
The time when a deployment of the environment was last attempted.
public Environment withLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the environment was last attempted.
lastDeploymentAttemptedAt
- The time when a deployment of the environment was last attempted.public void setLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
lastDeploymentSucceededAt
- The time when the environment was last deployed successfully.public Date getLastDeploymentSucceededAt()
The time when the environment was last deployed successfully.
public Environment withLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the environment was last deployed successfully.
lastDeploymentSucceededAt
- The time when the environment was last deployed successfully.public void setLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
lastSucceededDeploymentId
- The ID of the last successful deployment of this environment.public String getLastSucceededDeploymentId()
The ID of the last successful deployment of this environment.
public Environment withLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this environment.
lastSucceededDeploymentId
- The ID of the last successful deployment of this environment.public void setName(String name)
The name of the environment.
name
- The name of the environment.public String getName()
The name of the environment.
public Environment withName(String name)
The name of the environment.
name
- The name of the environment.public void setProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other
services on your behalf.public String getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
public Environment withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other
services on your behalf.public void setProvisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
provisioning
- When included, indicates that the environment template is for customer provisioned and managed
infrastructure.Provisioning
public String getProvisioning()
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
Provisioning
public Environment withProvisioning(String provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
provisioning
- When included, indicates that the environment template is for customer provisioned and managed
infrastructure.Provisioning
public Environment withProvisioning(Provisioning provisioning)
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
provisioning
- When included, indicates that the environment template is for customer provisioned and managed
infrastructure.Provisioning
public void setProvisioningRepository(RepositoryBranch provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
provisioningRepository
- The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning. A linked repository is a repository that has been registered with Proton. For more
information, see CreateRepository.public RepositoryBranch getProvisioningRepository()
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
public Environment withProvisioningRepository(RepositoryBranch provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
provisioningRepository
- The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning. A linked repository is a repository that has been registered with Proton. For more
information, see CreateRepository.public void setSpec(String spec)
The environment spec.
spec
- The environment spec.public String getSpec()
The environment spec.
public Environment withSpec(String spec)
The environment spec.
spec
- The environment spec.public void setTemplateMajorVersion(String templateMajorVersion)
The major version of the environment template.
templateMajorVersion
- The major version of the environment template.public String getTemplateMajorVersion()
The major version of the environment template.
public Environment withTemplateMajorVersion(String templateMajorVersion)
The major version of the environment template.
templateMajorVersion
- The major version of the environment template.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
templateMinorVersion
- The minor version of the environment template.public String getTemplateMinorVersion()
The minor version of the environment template.
public Environment withTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
templateMinorVersion
- The minor version of the environment template.public void setTemplateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
templateName
- The Amazon Resource Name (ARN) of the environment template.public String getTemplateName()
The Amazon Resource Name (ARN) of the environment template.
public Environment withTemplateName(String templateName)
The Amazon Resource Name (ARN) of the environment template.
templateName
- The Amazon Resource Name (ARN) of the environment template.public String toString()
toString
in class Object
Object.toString()
public Environment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.