All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.codebuild.model.BuildPhase Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Code Build module holds the client classes that are used for communicating with AWS Code Build.

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 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.codebuild.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Information about a stage for a build. *

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

* The name of the build phase. Valid values include: *

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
*
*/ private String phaseType; /** *

* The current status of the build phase. Valid values include: *

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
*
*/ private String phaseStatus; /** *

* When the build phase started, expressed in Unix time format. *

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

* When the build phase ended, expressed in Unix time format. *

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

* How long, in seconds, between the starting and ending times of the build's phase. *

*/ private Long durationInSeconds; /** *

* Additional information about a build phase, especially to help troubleshoot a failed build. *

*/ private java.util.List contexts; /** *

* The name of the build phase. Valid values include: *

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
*
* * @param phaseType * The name of the build phase. Valid values include:

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
* @see BuildPhaseType */ public void setPhaseType(String phaseType) { this.phaseType = phaseType; } /** *

* The name of the build phase. Valid values include: *

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
*
* * @return The name of the build phase. Valid values include:

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
* @see BuildPhaseType */ public String getPhaseType() { return this.phaseType; } /** *

* The name of the build phase. Valid values include: *

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
*
* * @param phaseType * The name of the build phase. Valid values include:

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
* @return Returns a reference to this object so that method calls can be chained together. * @see BuildPhaseType */ public BuildPhase withPhaseType(String phaseType) { setPhaseType(phaseType); return this; } /** *

* The name of the build phase. Valid values include: *

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
*
* * @param phaseType * The name of the build phase. Valid values include:

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
* @see BuildPhaseType */ public void setPhaseType(BuildPhaseType phaseType) { withPhaseType(phaseType); } /** *

* The name of the build phase. Valid values include: *

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
*
* * @param phaseType * The name of the build phase. Valid values include:

*
*
BUILD
*
*

* Core build activities typically occur in this build phase. *

*
*
COMPLETED
*
*

* The build has been completed. *

*
*
DOWNLOAD_SOURCE
*
*

* Source code is being downloaded in this build phase. *

*
*
FINALIZING
*
*

* The build process is completing in this build phase. *

*
*
INSTALL
*
*

* Installation activities typically occur in this build phase. *

*
*
POST_BUILD
*
*

* Post-build activities typically occur in this build phase. *

*
*
PRE_BUILD
*
*

* Pre-build activities typically occur in this build phase. *

*
*
PROVISIONING
*
*

* The build environment is being set up. *

*
*
QUEUED
*
*

* The build has been submitted and is queued behind other submitted builds. *

*
*
SUBMITTED
*
*

* The build has been submitted. *

*
*
UPLOAD_ARTIFACTS
*
*

* Build output artifacts are being uploaded to the output location. *

*
* @return Returns a reference to this object so that method calls can be chained together. * @see BuildPhaseType */ public BuildPhase withPhaseType(BuildPhaseType phaseType) { this.phaseType = phaseType.toString(); return this; } /** *

* The current status of the build phase. Valid values include: *

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
*
* * @param phaseStatus * The current status of the build phase. Valid values include:

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
* @see StatusType */ public void setPhaseStatus(String phaseStatus) { this.phaseStatus = phaseStatus; } /** *

* The current status of the build phase. Valid values include: *

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
*
* * @return The current status of the build phase. Valid values include:

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
* @see StatusType */ public String getPhaseStatus() { return this.phaseStatus; } /** *

* The current status of the build phase. Valid values include: *

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
*
* * @param phaseStatus * The current status of the build phase. Valid values include:

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
* @return Returns a reference to this object so that method calls can be chained together. * @see StatusType */ public BuildPhase withPhaseStatus(String phaseStatus) { setPhaseStatus(phaseStatus); return this; } /** *

* The current status of the build phase. Valid values include: *

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
*
* * @param phaseStatus * The current status of the build phase. Valid values include:

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
* @see StatusType */ public void setPhaseStatus(StatusType phaseStatus) { withPhaseStatus(phaseStatus); } /** *

* The current status of the build phase. Valid values include: *

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
*
* * @param phaseStatus * The current status of the build phase. Valid values include:

*
*
FAILED
*
*

* The build phase failed. *

*
*
FAULT
*
*

* The build phase faulted. *

*
*
IN_PROGRESS
*
*

* The build phase is still in progress. *

*
*
STOPPED
*
*

* The build phase stopped. *

*
*
SUCCEEDED
*
*

* The build phase succeeded. *

*
*
TIMED_OUT
*
*

* The build phase timed out. *

*
* @return Returns a reference to this object so that method calls can be chained together. * @see StatusType */ public BuildPhase withPhaseStatus(StatusType phaseStatus) { this.phaseStatus = phaseStatus.toString(); return this; } /** *

* When the build phase started, expressed in Unix time format. *

* * @param startTime * When the build phase started, expressed in Unix time format. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** *

* When the build phase started, expressed in Unix time format. *

* * @return When the build phase started, expressed in Unix time format. */ public java.util.Date getStartTime() { return this.startTime; } /** *

* When the build phase started, expressed in Unix time format. *

* * @param startTime * When the build phase started, expressed in Unix time format. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildPhase withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** *

* When the build phase ended, expressed in Unix time format. *

* * @param endTime * When the build phase ended, expressed in Unix time format. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** *

* When the build phase ended, expressed in Unix time format. *

* * @return When the build phase ended, expressed in Unix time format. */ public java.util.Date getEndTime() { return this.endTime; } /** *

* When the build phase ended, expressed in Unix time format. *

* * @param endTime * When the build phase ended, expressed in Unix time format. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildPhase withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** *

* How long, in seconds, between the starting and ending times of the build's phase. *

* * @param durationInSeconds * How long, in seconds, between the starting and ending times of the build's phase. */ public void setDurationInSeconds(Long durationInSeconds) { this.durationInSeconds = durationInSeconds; } /** *

* How long, in seconds, between the starting and ending times of the build's phase. *

* * @return How long, in seconds, between the starting and ending times of the build's phase. */ public Long getDurationInSeconds() { return this.durationInSeconds; } /** *

* How long, in seconds, between the starting and ending times of the build's phase. *

* * @param durationInSeconds * How long, in seconds, between the starting and ending times of the build's phase. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildPhase withDurationInSeconds(Long durationInSeconds) { setDurationInSeconds(durationInSeconds); return this; } /** *

* Additional information about a build phase, especially to help troubleshoot a failed build. *

* * @return Additional information about a build phase, especially to help troubleshoot a failed build. */ public java.util.List getContexts() { return contexts; } /** *

* Additional information about a build phase, especially to help troubleshoot a failed build. *

* * @param contexts * Additional information about a build phase, especially to help troubleshoot a failed build. */ public void setContexts(java.util.Collection contexts) { if (contexts == null) { this.contexts = null; return; } this.contexts = new java.util.ArrayList(contexts); } /** *

* Additional information about a build phase, especially to help troubleshoot a failed build. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setContexts(java.util.Collection)} or {@link #withContexts(java.util.Collection)} if you want to override * the existing values. *

* * @param contexts * Additional information about a build phase, especially to help troubleshoot a failed build. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildPhase withContexts(PhaseContext... contexts) { if (this.contexts == null) { setContexts(new java.util.ArrayList(contexts.length)); } for (PhaseContext ele : contexts) { this.contexts.add(ele); } return this; } /** *

* Additional information about a build phase, especially to help troubleshoot a failed build. *

* * @param contexts * Additional information about a build phase, especially to help troubleshoot a failed build. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildPhase withContexts(java.util.Collection contexts) { setContexts(contexts); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPhaseType() != null) sb.append("PhaseType: ").append(getPhaseType()).append(","); if (getPhaseStatus() != null) sb.append("PhaseStatus: ").append(getPhaseStatus()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getDurationInSeconds() != null) sb.append("DurationInSeconds: ").append(getDurationInSeconds()).append(","); if (getContexts() != null) sb.append("Contexts: ").append(getContexts()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof BuildPhase == false) return false; BuildPhase other = (BuildPhase) obj; if (other.getPhaseType() == null ^ this.getPhaseType() == null) return false; if (other.getPhaseType() != null && other.getPhaseType().equals(this.getPhaseType()) == false) return false; if (other.getPhaseStatus() == null ^ this.getPhaseStatus() == null) return false; if (other.getPhaseStatus() != null && other.getPhaseStatus().equals(this.getPhaseStatus()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == false) return false; if (other.getEndTime() == null ^ this.getEndTime() == null) return false; if (other.getEndTime() != null && other.getEndTime().equals(this.getEndTime()) == false) return false; if (other.getDurationInSeconds() == null ^ this.getDurationInSeconds() == null) return false; if (other.getDurationInSeconds() != null && other.getDurationInSeconds().equals(this.getDurationInSeconds()) == false) return false; if (other.getContexts() == null ^ this.getContexts() == null) return false; if (other.getContexts() != null && other.getContexts().equals(this.getContexts()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPhaseType() == null) ? 0 : getPhaseType().hashCode()); hashCode = prime * hashCode + ((getPhaseStatus() == null) ? 0 : getPhaseStatus().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getDurationInSeconds() == null) ? 0 : getDurationInSeconds().hashCode()); hashCode = prime * hashCode + ((getContexts() == null) ? 0 : getContexts().hashCode()); return hashCode; } @Override public BuildPhase clone() { try { return (BuildPhase) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.codebuild.model.transform.BuildPhaseMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy