@Generated(value="software.amazon.awssdk:codegen") public final class EnvironmentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>
Summary data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnvironmentSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the environment.
|
static EnvironmentSummary.Builder |
builder() |
String |
componentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
Instant |
createdAt()
The time when the environment was created.
|
DeploymentStatus |
deploymentStatus()
The environment deployment status.
|
String |
deploymentStatusAsString()
The environment deployment status.
|
String |
deploymentStatusMessage()
An environment deployment status message.
|
String |
description()
The description of the environment.
|
String |
environmentAccountConnectionId()
The ID of the environment account connection that the environment is associated with.
|
String |
environmentAccountId()
The ID of the environment account that the environment infrastructure resources are provisioned in.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastAttemptedDeploymentId()
The ID of the last attempted deployment of this environment.
|
Instant |
lastDeploymentAttemptedAt()
The time when a deployment of the environment was last attempted.
|
Instant |
lastDeploymentSucceededAt()
The time when the environment was last deployed successfully.
|
String |
lastSucceededDeploymentId()
The ID of the last successful deployment of this environment.
|
String |
name()
The name of the environment.
|
String |
protonServiceRoleArn()
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on
your behalf.
|
Provisioning |
provisioning()
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
|
String |
provisioningAsString()
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnvironmentSummary.Builder> |
serializableBuilderClass() |
String |
templateMajorVersion()
The major version of the environment template.
|
String |
templateMinorVersion()
The minor version of the environment template.
|
String |
templateName()
The name of the environment template.
|
EnvironmentSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the environment.
public final 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.
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 final Instant createdAt()
The time when the environment was created.
public final DeploymentStatus deploymentStatus()
The environment deployment status.
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentStatusAsString().
DeploymentStatuspublic final String deploymentStatusAsString()
The environment deployment status.
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentStatusAsString().
DeploymentStatuspublic final String deploymentStatusMessage()
An environment deployment status message.
public final String description()
The description of the environment.
public final String environmentAccountConnectionId()
The ID of the environment account connection that the environment is associated with.
public final String environmentAccountId()
The ID of the environment account that the environment infrastructure resources are provisioned in.
public final String lastAttemptedDeploymentId()
The ID of the last attempted deployment of this environment.
public final Instant lastDeploymentAttemptedAt()
The time when a deployment of the environment was last attempted.
public final Instant lastDeploymentSucceededAt()
The time when the environment was last deployed successfully.
public final String lastSucceededDeploymentId()
The ID of the last successful deployment of this environment.
public final String name()
The name of the environment.
public final String protonServiceRoleArn()
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
public final Provisioning provisioning()
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
If the service returns an enum value that is not available in the current SDK version, provisioning will
return Provisioning.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
provisioningAsString().
Provisioningpublic final String provisioningAsString()
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
If the service returns an enum value that is not available in the current SDK version, provisioning will
return Provisioning.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
provisioningAsString().
Provisioningpublic final String templateMajorVersion()
The major version of the environment template.
public final String templateMinorVersion()
The minor version of the environment template.
public final String templateName()
The name of the environment template.
public EnvironmentSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>public static EnvironmentSummary.Builder builder()
public static Class<? extends EnvironmentSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.