Class Deployment
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.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>
Information about an application version deployment.
- 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 static Deployment.Builderbuilder()LongdeploymentId()The ID of the deployment.InstantdeploymentTime()For in-progress deployments, the time that the deployment started.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()Stringstatus()The status of the deployment:Deployment.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionLabel()The version label of the application version in the deployment.-
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
-
versionLabel
public final String versionLabel()
The version label of the application version in the deployment.
- Returns:
- The version label of the application version in the deployment.
-
deploymentId
public final Long deploymentId()
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
- Returns:
- The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
-
status
public final String status()
The status of the deployment:
-
In Progress: The deployment is in progress. -
Deployed: The deployment succeeded. -
Failed: The deployment failed.
- Returns:
- The status of the deployment:
-
In Progress: The deployment is in progress. -
Deployed: The deployment succeeded. -
Failed: The deployment failed.
-
-
-
deploymentTime
public final Instant deploymentTime()
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
- Returns:
- For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
-
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
-
-