@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 |
|---|---|
Boolean |
autoDeployed()
Specifies whether a deployment was automatically released.
|
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 final Boolean autoDeployed()
Specifies whether a deployment was automatically released.
public final Instant createdDate()
The date and time when the Deployment resource was created.
public final String deploymentId()
The identifier for the deployment.
public final 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 final 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 final String deploymentStatusMessage()
May contain additional feedback on the status of an API deployment.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.