@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
The environment detail data. An AWS Proton environment is a set resources shared across an AWS Proton service.
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.
|
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.
|
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 |
getName()
The name of the environment.
|
String |
getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS 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.
|
String |
getSpec()
The environment spec.
|
String |
getTemplateMajorVersion()
The ID of the major version of the environment template.
|
String |
getTemplateMinorVersion()
The ID of 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 |
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 |
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 |
setName(String name)
The name of the environment.
|
void |
setProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS 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 |
setSpec(String spec)
The environment spec.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The ID of 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 |
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 |
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 |
withName(String name)
The name of the environment.
|
Environment |
withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS 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 |
withSpec(String spec)
The environment spec.
|
Environment |
withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
|
Environment |
withTemplateMinorVersion(String templateMinorVersion)
The ID of 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 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 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 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 AWS Proton service role that allows AWS Proton to make calls to other services on your behalf.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to
other services on your behalf.public String getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other services on your behalf.
public Environment withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other services on your behalf.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS 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 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 ID of the major version of the environment template.
templateMajorVersion
- The ID of the major version of the environment template.public String getTemplateMajorVersion()
The ID of the major version of the environment template.
public Environment withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
templateMajorVersion
- The ID of the major version of the environment template.public void setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment template.
templateMinorVersion
- The ID of the minor version of the environment template.public String getTemplateMinorVersion()
The ID of the minor version of the environment template.
public Environment withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment template.
templateMinorVersion
- The ID of 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.