@Generated(value="software.amazon.awssdk:codegen") public final class ServiceInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceInstance.Builder,ServiceInstance>
Detailed data of an Proton service instance resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceInstance.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the service instance.
|
static ServiceInstance.Builder |
builder() |
Instant |
createdAt()
The time when the service instance was created.
|
DeploymentStatus |
deploymentStatus()
The service instance deployment status.
|
String |
deploymentStatusAsString()
The service instance deployment status.
|
String |
deploymentStatusMessage()
The message associated with the service instance deployment status.
|
String |
environmentName()
The name of the environment that the service instance was deployed into.
|
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 service instance.
|
String |
lastClientRequestToken()
The last client request token received.
|
Instant |
lastDeploymentAttemptedAt()
The time when a deployment of the service instance was last attempted.
|
Instant |
lastDeploymentSucceededAt()
The time when the service instance was last deployed successfully.
|
String |
lastSucceededDeploymentId()
The ID of the last successful deployment of this service instance.
|
String |
name()
The name of the service instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceInstance.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the service that the service instance belongs to.
|
String |
spec()
The service spec that was used to create the service instance.
|
String |
templateMajorVersion()
The major version of the service template that was used to create the service instance.
|
String |
templateMinorVersion()
The minor version of the service template that was used to create the service instance.
|
String |
templateName()
The name of the service template that was used to create the service instance.
|
ServiceInstance.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 service instance.
public final Instant createdAt()
The time when the service instance was created.
public final DeploymentStatus deploymentStatus()
The service instance 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 service instance 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()
The message associated with the service instance deployment status.
public final String environmentName()
The name of the environment that the service instance was deployed into.
public final String lastAttemptedDeploymentId()
The ID of the last attempted deployment of this service instance.
public final String lastClientRequestToken()
The last client request token received.
public final Instant lastDeploymentAttemptedAt()
The time when a deployment of the service instance was last attempted.
public final Instant lastDeploymentSucceededAt()
The time when the service instance was last deployed successfully.
public final String lastSucceededDeploymentId()
The ID of the last successful deployment of this service instance.
public final String name()
The name of the service instance.
public final String serviceName()
The name of the service that the service instance belongs to.
public final String spec()
The service spec that was used to create the service instance.
public final String templateMajorVersion()
The major version of the service template that was used to create the service instance.
public final String templateMinorVersion()
The minor version of the service template that was used to create the service instance.
public final String templateName()
The name of the service template that was used to create the service instance.
public ServiceInstance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceInstance.Builder,ServiceInstance>public static ServiceInstance.Builder builder()
public static Class<? extends ServiceInstance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.