Class Deployment
- java.lang.Object
-
- software.amazon.awssdk.services.apigatewayv2.model.Deployment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Deployment.Builder,Deployment>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeployment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoDeployed()Specifies whether a deployment was automatically released.static Deployment.Builderbuilder()InstantcreatedDate()The date and time when the Deployment resource was created.StringdeploymentId()The identifier for the deployment.DeploymentStatusdeploymentStatus()The status of the deployment: PENDING, FAILED, or SUCCEEDED.StringdeploymentStatusAsString()The status of the deployment: PENDING, FAILED, or SUCCEEDED.StringdeploymentStatusMessage()May contain additional feedback on the status of an API deployment.Stringdescription()The description for the deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Deployment.Builder>serializableBuilderClass()Deployment.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
autoDeployed
public final Boolean autoDeployed()
Specifies whether a deployment was automatically released.
- Returns:
- Specifies whether a deployment was automatically released.
-
createdDate
public final Instant createdDate()
The date and time when the Deployment resource was created.
- Returns:
- The date and time when the Deployment resource was created.
-
deploymentId
public final String deploymentId()
The identifier for the deployment.
- Returns:
- The identifier for the deployment.
-
deploymentStatus
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,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- The status of the deployment: PENDING, FAILED, or SUCCEEDED.
- See Also:
DeploymentStatus
-
deploymentStatusAsString
public 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,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- The status of the deployment: PENDING, FAILED, or SUCCEEDED.
- See Also:
DeploymentStatus
-
deploymentStatusMessage
public final String deploymentStatusMessage()
May contain additional feedback on the status of an API deployment.
- Returns:
- May contain additional feedback on the status of an API deployment.
-
description
public final String description()
The description for the deployment.
- Returns:
- The description for the deployment.
-
toBuilder
public Deployment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Deployment.Builder,Deployment>
-
builder
public static Deployment.Builder builder()
-
serializableBuilderClass
public static Class<? extends Deployment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-