/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elasticbeanstalk.model; import java.io.Serializable; import javax.annotation.Generated; /** *

* Information about an application version deployment. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Deployment implements Serializable, Cloneable { /** *

* The version label of the application version in the deployment. *

*/ private String versionLabel; /** *

* The ID of the deployment. This number increases by one each time that you deploy source code or change instance * configuration settings. *

*/ private Long deploymentId; /** *

* The status of the deployment: *

* */ private String status; /** *

* For in-progress deployments, the time that the deployment started. *

*

* For completed deployments, the time that the deployment ended. *

*/ private java.util.Date deploymentTime; /** *

* The version label of the application version in the deployment. *

* * @param versionLabel * The version label of the application version in the deployment. */ public void setVersionLabel(String versionLabel) { this.versionLabel = versionLabel; } /** *

* The version label of the application version in the deployment. *

* * @return The version label of the application version in the deployment. */ public String getVersionLabel() { return this.versionLabel; } /** *

* The version label of the application version in the deployment. *

* * @param versionLabel * The version label of the application version in the deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public Deployment withVersionLabel(String versionLabel) { setVersionLabel(versionLabel); return this; } /** *

* The ID of the deployment. This number increases by one each time that you deploy source code or change instance * configuration settings. *

* * @param deploymentId * The ID of the deployment. This number increases by one each time that you deploy source code or change * instance configuration settings. */ public void setDeploymentId(Long deploymentId) { this.deploymentId = deploymentId; } /** *

* The ID of the deployment. This number increases by one each time that you deploy source code or change instance * configuration settings. *

* * @return The ID of the deployment. This number increases by one each time that you deploy source code or change * instance configuration settings. */ public Long getDeploymentId() { return this.deploymentId; } /** *

* The ID of the deployment. This number increases by one each time that you deploy source code or change instance * configuration settings. *

* * @param deploymentId * The ID of the deployment. This number increases by one each time that you deploy source code or change * instance configuration settings. * @return Returns a reference to this object so that method calls can be chained together. */ public Deployment withDeploymentId(Long deploymentId) { setDeploymentId(deploymentId); return this; } /** *

* The status of the deployment: *

* * * @param status * The status of the deployment:

*