@Generated(value="software.amazon.awssdk:codegen") public final class Deployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Deployment.Builder,Deployment>
An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Deployment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Deployment.Builder |
builder() |
Instant |
createdDate()
The date and time when the Deployment resource was created.
|
String |
deploymentId()
The identifier for the deployment.
|
DeploymentStatus |
deploymentStatus()
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
|
String |
deploymentStatusAsString()
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
|
String |
deploymentStatusMessage()
May contain additional feedback on the status of an API deployment.
|
String |
description()
The description for the deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Deployment.Builder> |
serializableBuilderClass() |
Deployment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Instant createdDate()
The date and time when the Deployment resource was created.
public String deploymentId()
The identifier for the deployment.
public DeploymentStatus deploymentStatus()
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
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 String deploymentStatusAsString()
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
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 String deploymentStatusMessage()
May contain additional feedback on the status of an API deployment.
public String description()
The description for the deployment.
public Deployment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Deployment.Builder,Deployment>public static Deployment.Builder builder()
public static Class<? extends Deployment.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.