/* * 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.codebuild.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information about a batch build. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BuildBatch implements Serializable, Cloneable, StructuredPojo { /** ** The identifier of the batch build. *
*/ private String id; /** ** The ARN of the batch build. *
*/ private String arn; /** ** The date and time that the batch build started. *
*/ private java.util.Date startTime; /** ** The date and time that the batch build ended. *
*/ private java.util.Date endTime; /** ** The current phase of the batch build. *
*/ private String currentPhase; /** ** The status of the batch build. *
*/ private String buildBatchStatus; /** ** The identifier of the version of the source code to be built. *
*/ private String sourceVersion; /** ** The identifier of the resolved version of this batch build's source code. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** The name of the batch build project. *
*/ private String projectName; /** *
* An array of BuildBatchPhase
objects the specify the phases of the batch build.
*
* An array of ProjectSource
objects that define the sources for the batch build.
*
* An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
*
* For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
* source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you * want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default * branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*
* A BuildArtifacts
object the defines the build artifacts for this batch build.
*
* An array of BuildArtifacts
objects the define the build artifacts for this batch build.
*
* The name of a service role used for builds in the batch. *
*/ private String serviceRole; private LogsConfig logConfig; /** ** Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. *
*/ private Integer buildTimeoutInMinutes; /** ** Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out. *
*/ private Integer queuedTimeoutInMinutes; /** ** Indicates if the batch build is complete. *
*/ private Boolean complete; /** ** The entity that started the batch build. Valid values include: *
*
* If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts. *
** You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to * that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
*
* The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
* 1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
* . If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
*
* An array of ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
,
* mountOptions
, mountPoint
, and type
of a file system created using Amazon
* Elastic File System.
*
* An array of BuildGroup
objects that define the build groups for the batch build.
*
* Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in * Session Manager. Batch session debugging is not supported for matrix batch builds. *
*/ private Boolean debugSessionEnabled; /** ** The identifier of the batch build. *
* * @param id * The identifier of the batch build. */ public void setId(String id) { this.id = id; } /** ** The identifier of the batch build. *
* * @return The identifier of the batch build. */ public String getId() { return this.id; } /** ** The identifier of the batch build. *
* * @param id * The identifier of the batch build. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withId(String id) { setId(id); return this; } /** ** The ARN of the batch build. *
* * @param arn * The ARN of the batch build. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the batch build. *
* * @return The ARN of the batch build. */ public String getArn() { return this.arn; } /** ** The ARN of the batch build. *
* * @param arn * The ARN of the batch build. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withArn(String arn) { setArn(arn); return this; } /** ** The date and time that the batch build started. *
* * @param startTime * The date and time that the batch build started. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** ** The date and time that the batch build started. *
* * @return The date and time that the batch build started. */ public java.util.Date getStartTime() { return this.startTime; } /** ** The date and time that the batch build started. *
* * @param startTime * The date and time that the batch build started. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** ** The date and time that the batch build ended. *
* * @param endTime * The date and time that the batch build ended. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** ** The date and time that the batch build ended. *
* * @return The date and time that the batch build ended. */ public java.util.Date getEndTime() { return this.endTime; } /** ** The date and time that the batch build ended. *
* * @param endTime * The date and time that the batch build ended. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** ** The current phase of the batch build. *
* * @param currentPhase * The current phase of the batch build. */ public void setCurrentPhase(String currentPhase) { this.currentPhase = currentPhase; } /** ** The current phase of the batch build. *
* * @return The current phase of the batch build. */ public String getCurrentPhase() { return this.currentPhase; } /** ** The current phase of the batch build. *
* * @param currentPhase * The current phase of the batch build. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withCurrentPhase(String currentPhase) { setCurrentPhase(currentPhase); return this; } /** ** The status of the batch build. *
* * @param buildBatchStatus * The status of the batch build. * @see StatusType */ public void setBuildBatchStatus(String buildBatchStatus) { this.buildBatchStatus = buildBatchStatus; } /** ** The status of the batch build. *
* * @return The status of the batch build. * @see StatusType */ public String getBuildBatchStatus() { return this.buildBatchStatus; } /** ** The status of the batch build. *
* * @param buildBatchStatus * The status of the batch build. * @return Returns a reference to this object so that method calls can be chained together. * @see StatusType */ public BuildBatch withBuildBatchStatus(String buildBatchStatus) { setBuildBatchStatus(buildBatchStatus); return this; } /** ** The status of the batch build. *
* * @param buildBatchStatus * The status of the batch build. * @return Returns a reference to this object so that method calls can be chained together. * @see StatusType */ public BuildBatch withBuildBatchStatus(StatusType buildBatchStatus) { this.buildBatchStatus = buildBatchStatus.toString(); return this; } /** ** The identifier of the version of the source code to be built. *
* * @param sourceVersion * The identifier of the version of the source code to be built. */ public void setSourceVersion(String sourceVersion) { this.sourceVersion = sourceVersion; } /** ** The identifier of the version of the source code to be built. *
* * @return The identifier of the version of the source code to be built. */ public String getSourceVersion() { return this.sourceVersion; } /** ** The identifier of the version of the source code to be built. *
* * @param sourceVersion * The identifier of the version of the source code to be built. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withSourceVersion(String sourceVersion) { setSourceVersion(sourceVersion); return this; } /** ** The identifier of the resolved version of this batch build's source code. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** The identifier of the resolved version of this batch build's source code. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** The identifier of the resolved version of this batch build's source code. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. *
** For CodePipeline, the source revision provided by CodePipeline. *
** For Amazon S3, this does not apply. *
** The name of the batch build project. *
* * @param projectName * The name of the batch build project. */ public void setProjectName(String projectName) { this.projectName = projectName; } /** ** The name of the batch build project. *
* * @return The name of the batch build project. */ public String getProjectName() { return this.projectName; } /** ** The name of the batch build project. *
* * @param projectName * The name of the batch build project. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withProjectName(String projectName) { setProjectName(projectName); return this; } /** *
* An array of BuildBatchPhase
objects the specify the phases of the batch build.
*
BuildBatchPhase
objects the specify the phases of the batch build.
*/
public java.util.List
* An array of BuildBatchPhase
objects the specify the phases of the batch build.
*
BuildBatchPhase
objects the specify the phases of the batch build.
*/
public void setPhases(java.util.Collection
* An array of BuildBatchPhase
objects the specify the phases of the batch build.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setPhases(java.util.Collection)} or {@link #withPhases(java.util.Collection)} if you want to override the * existing values. *
* * @param phases * An array ofBuildBatchPhase
objects the specify the phases of the batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withPhases(BuildBatchPhase... phases) {
if (this.phases == null) {
setPhases(new java.util.ArrayList
* An array of BuildBatchPhase
objects the specify the phases of the batch build.
*
BuildBatchPhase
objects the specify the phases of the batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withPhases(java.util.Collection
* An array of ProjectSource
objects that define the sources for the batch build.
*
ProjectSource
objects that define the sources for the batch build.
*/
public java.util.List
* An array of ProjectSource
objects that define the sources for the batch build.
*
ProjectSource
objects that define the sources for the batch build.
*/
public void setSecondarySources(java.util.Collection
* An array of ProjectSource
objects that define the sources for the batch build.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecondarySources(java.util.Collection)} or {@link #withSecondarySources(java.util.Collection)} if you * want to override the existing values. *
* * @param secondarySources * An array ofProjectSource
objects that define the sources for the batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withSecondarySources(ProjectSource... secondarySources) {
if (this.secondarySources == null) {
setSecondarySources(new java.util.ArrayList
* An array of ProjectSource
objects that define the sources for the batch build.
*
ProjectSource
objects that define the sources for the batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withSecondarySources(java.util.Collection
* An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
*
* For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
* source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you * want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default * branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
* of:
* * For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
* the source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code * you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*
* An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
*
* For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
* source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you * want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default * branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
* of:
* * For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
* the source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code * you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*
* An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
*
* For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
* source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you * want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default * branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecondarySourceVersions(java.util.Collection)} or * {@link #withSecondarySourceVersions(java.util.Collection)} if you want to override the existing values. *
* * @param secondarySourceVersions * An array ofProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
* of:
* * For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
* the source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code * you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*
* An array of ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one of:
*
* For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
* source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the branch's
* HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you * want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default * branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*ProjectSourceVersion
objects. Each ProjectSourceVersion
must be one
* of:
* * For CodeCommit: the commit ID, branch, or Git tag to use. *
*
* For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
* the source code you want to build. If a pull request ID is specified, it must use the format
* pr/pull-request-ID
(for example, pr/25
). If a branch name is specified, the
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
*
* For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code * you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, * the default branch's HEAD commit ID is used. *
** For Amazon S3: the version ID of the object that represents the build input ZIP file to use. *
*
* A BuildArtifacts
object the defines the build artifacts for this batch build.
*
BuildArtifacts
object the defines the build artifacts for this batch build.
*/
public void setArtifacts(BuildArtifacts artifacts) {
this.artifacts = artifacts;
}
/**
*
* A BuildArtifacts
object the defines the build artifacts for this batch build.
*
BuildArtifacts
object the defines the build artifacts for this batch build.
*/
public BuildArtifacts getArtifacts() {
return this.artifacts;
}
/**
*
* A BuildArtifacts
object the defines the build artifacts for this batch build.
*
BuildArtifacts
object the defines the build artifacts for this batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withArtifacts(BuildArtifacts artifacts) {
setArtifacts(artifacts);
return this;
}
/**
*
* An array of BuildArtifacts
objects the define the build artifacts for this batch build.
*
BuildArtifacts
objects the define the build artifacts for this batch build.
*/
public java.util.List
* An array of BuildArtifacts
objects the define the build artifacts for this batch build.
*
BuildArtifacts
objects the define the build artifacts for this batch build.
*/
public void setSecondaryArtifacts(java.util.Collection
* An array of BuildArtifacts
objects the define the build artifacts for this batch build.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecondaryArtifacts(java.util.Collection)} or {@link #withSecondaryArtifacts(java.util.Collection)} if * you want to override the existing values. *
* * @param secondaryArtifacts * An array ofBuildArtifacts
objects the define the build artifacts for this batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withSecondaryArtifacts(BuildArtifacts... secondaryArtifacts) {
if (this.secondaryArtifacts == null) {
setSecondaryArtifacts(new java.util.ArrayList
* An array of BuildArtifacts
objects the define the build artifacts for this batch build.
*
BuildArtifacts
objects the define the build artifacts for this batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withSecondaryArtifacts(java.util.Collection* The name of a service role used for builds in the batch. *
* * @param serviceRole * The name of a service role used for builds in the batch. */ public void setServiceRole(String serviceRole) { this.serviceRole = serviceRole; } /** ** The name of a service role used for builds in the batch. *
* * @return The name of a service role used for builds in the batch. */ public String getServiceRole() { return this.serviceRole; } /** ** The name of a service role used for builds in the batch. *
* * @param serviceRole * The name of a service role used for builds in the batch. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withServiceRole(String serviceRole) { setServiceRole(serviceRole); return this; } /** * @param logConfig */ public void setLogConfig(LogsConfig logConfig) { this.logConfig = logConfig; } /** * @return */ public LogsConfig getLogConfig() { return this.logConfig; } /** * @param logConfig * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withLogConfig(LogsConfig logConfig) { setLogConfig(logConfig); return this; } /** ** Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. *
* * @param buildTimeoutInMinutes * Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. */ public void setBuildTimeoutInMinutes(Integer buildTimeoutInMinutes) { this.buildTimeoutInMinutes = buildTimeoutInMinutes; } /** ** Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. *
* * @return Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. */ public Integer getBuildTimeoutInMinutes() { return this.buildTimeoutInMinutes; } /** ** Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. *
* * @param buildTimeoutInMinutes * Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withBuildTimeoutInMinutes(Integer buildTimeoutInMinutes) { setBuildTimeoutInMinutes(buildTimeoutInMinutes); return this; } /** ** Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out. *
* * @param queuedTimeoutInMinutes * Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times * out. */ public void setQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes) { this.queuedTimeoutInMinutes = queuedTimeoutInMinutes; } /** ** Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out. *
* * @return Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times * out. */ public Integer getQueuedTimeoutInMinutes() { return this.queuedTimeoutInMinutes; } /** ** Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out. *
* * @param queuedTimeoutInMinutes * Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times * out. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes) { setQueuedTimeoutInMinutes(queuedTimeoutInMinutes); return this; } /** ** Indicates if the batch build is complete. *
* * @param complete * Indicates if the batch build is complete. */ public void setComplete(Boolean complete) { this.complete = complete; } /** ** Indicates if the batch build is complete. *
* * @return Indicates if the batch build is complete. */ public Boolean getComplete() { return this.complete; } /** ** Indicates if the batch build is complete. *
* * @param complete * Indicates if the batch build is complete. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withComplete(Boolean complete) { setComplete(complete); return this; } /** ** Indicates if the batch build is complete. *
* * @return Indicates if the batch build is complete. */ public Boolean isComplete() { return this.complete; } /** ** The entity that started the batch build. Valid values include: *
*
* If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* If CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* The entity that started the batch build. Valid values include: *
*
* If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* If CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* The entity that started the batch build. Valid values include: *
*
* If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* If CodePipeline started the build, the pipeline's name (for example,
* codepipeline/my-demo-pipeline
).
*
* If an IAM user started the build, the user's name. *
*
* If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
*
* The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts. *
** You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to * that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
*
* You can use a cross-account KMS key to encrypt the build output artifacts if your service role has * permission to that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
* the format alias/<alias-name>
).
*/
public void setEncryptionKey(String encryptionKey) {
this.encryptionKey = encryptionKey;
}
/**
*
* The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts. *
** You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to * that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
*
* You can use a cross-account KMS key to encrypt the build output artifacts if your service role has * permission to that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
* the format alias/<alias-name>
).
*/
public String getEncryptionKey() {
return this.encryptionKey;
}
/**
*
* The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts. *
** You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to * that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
* format alias/<alias-name>
).
*
* You can use a cross-account KMS key to encrypt the build output artifacts if your service role has * permission to that key. *
*
* You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
* the format alias/<alias-name>
).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withEncryptionKey(String encryptionKey) {
setEncryptionKey(encryptionKey);
return this;
}
/**
*
* The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
* 1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
* . If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
*
buildBatchNumber
of its first batch
* build is 1
. The buildBatchNumber
of each subsequent batch build is incremented
* by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds
* does not change.
*/
public void setBuildBatchNumber(Long buildBatchNumber) {
this.buildBatchNumber = buildBatchNumber;
}
/**
*
* The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
* 1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
* . If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
*
buildBatchNumber
of its first batch
* build is 1
. The buildBatchNumber
of each subsequent batch build is incremented
* by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds
* does not change.
*/
public Long getBuildBatchNumber() {
return this.buildBatchNumber;
}
/**
*
* The number of the batch build. For each project, the buildBatchNumber
of its first batch build is
* 1
. The buildBatchNumber
of each subsequent batch build is incremented by 1
* . If a batch build is deleted, the buildBatchNumber
of other batch builds does not change.
*
buildBatchNumber
of its first batch
* build is 1
. The buildBatchNumber
of each subsequent batch build is incremented
* by 1
. If a batch build is deleted, the buildBatchNumber
of other batch builds
* does not change.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withBuildBatchNumber(Long buildBatchNumber) {
setBuildBatchNumber(buildBatchNumber);
return this;
}
/**
*
* An array of ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
,
* mountOptions
, mountPoint
, and type
of a file system created using Amazon
* Elastic File System.
*
ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
,
* location
, mountOptions
, mountPoint
, and type
of a
* file system created using Amazon Elastic File System.
*/
public java.util.List
* An array of ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
,
* mountOptions
, mountPoint
, and type
of a file system created using Amazon
* Elastic File System.
*
ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
* , mountOptions
, mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
*/
public void setFileSystemLocations(java.util.Collection
* An array of ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
,
* mountOptions
, mountPoint
, and type
of a file system created using Amazon
* Elastic File System.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setFileSystemLocations(java.util.Collection)} or {@link #withFileSystemLocations(java.util.Collection)} * if you want to override the existing values. *
* * @param fileSystemLocations * An array ofProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
* , mountOptions
, mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations) {
if (this.fileSystemLocations == null) {
setFileSystemLocations(new java.util.ArrayList
* An array of ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
,
* mountOptions
, mountPoint
, and type
of a file system created using Amazon
* Elastic File System.
*
ProjectFileSystemLocation
objects for the batch build project. A
* ProjectFileSystemLocation
object specifies the identifier
, location
* , mountOptions
, mountPoint
, and type
of a file system created using
* Amazon Elastic File System.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withFileSystemLocations(java.util.Collection
* An array of BuildGroup
objects that define the build groups for the batch build.
*
BuildGroup
objects that define the build groups for the batch build.
*/
public java.util.List
* An array of BuildGroup
objects that define the build groups for the batch build.
*
BuildGroup
objects that define the build groups for the batch build.
*/
public void setBuildGroups(java.util.Collection
* An array of BuildGroup
objects that define the build groups for the batch build.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setBuildGroups(java.util.Collection)} or {@link #withBuildGroups(java.util.Collection)} if you want to * override the existing values. *
* * @param buildGroups * An array ofBuildGroup
objects that define the build groups for the batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withBuildGroups(BuildGroup... buildGroups) {
if (this.buildGroups == null) {
setBuildGroups(new java.util.ArrayList
* An array of BuildGroup
objects that define the build groups for the batch build.
*
BuildGroup
objects that define the build groups for the batch build.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BuildBatch withBuildGroups(java.util.Collection* Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in * Session Manager. Batch session debugging is not supported for matrix batch builds. *
* * @param debugSessionEnabled * Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build * in Session Manager. Batch session debugging is not supported for matrix batch builds. */ public void setDebugSessionEnabled(Boolean debugSessionEnabled) { this.debugSessionEnabled = debugSessionEnabled; } /** ** Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in * Session Manager. Batch session debugging is not supported for matrix batch builds. *
* * @return Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running * build in Session Manager. Batch session debugging is not supported for matrix batch builds. */ public Boolean getDebugSessionEnabled() { return this.debugSessionEnabled; } /** ** Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in * Session Manager. Batch session debugging is not supported for matrix batch builds. *
* * @param debugSessionEnabled * Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build * in Session Manager. Batch session debugging is not supported for matrix batch builds. * @return Returns a reference to this object so that method calls can be chained together. */ public BuildBatch withDebugSessionEnabled(Boolean debugSessionEnabled) { setDebugSessionEnabled(debugSessionEnabled); return this; } /** ** Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in * Session Manager. Batch session debugging is not supported for matrix batch builds. *
* * @return Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running * build in Session Manager. Batch session debugging is not supported for matrix batch builds. */ public Boolean isDebugSessionEnabled() { return this.debugSessionEnabled; } /** * 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 (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getCurrentPhase() != null) sb.append("CurrentPhase: ").append(getCurrentPhase()).append(","); if (getBuildBatchStatus() != null) sb.append("BuildBatchStatus: ").append(getBuildBatchStatus()).append(","); if (getSourceVersion() != null) sb.append("SourceVersion: ").append(getSourceVersion()).append(","); if (getResolvedSourceVersion() != null) sb.append("ResolvedSourceVersion: ").append(getResolvedSourceVersion()).append(","); if (getProjectName() != null) sb.append("ProjectName: ").append(getProjectName()).append(","); if (getPhases() != null) sb.append("Phases: ").append(getPhases()).append(","); if (getSource() != null) sb.append("Source: ").append(getSource()).append(","); if (getSecondarySources() != null) sb.append("SecondarySources: ").append(getSecondarySources()).append(","); if (getSecondarySourceVersions() != null) sb.append("SecondarySourceVersions: ").append(getSecondarySourceVersions()).append(","); if (getArtifacts() != null) sb.append("Artifacts: ").append(getArtifacts()).append(","); if (getSecondaryArtifacts() != null) sb.append("SecondaryArtifacts: ").append(getSecondaryArtifacts()).append(","); if (getCache() != null) sb.append("Cache: ").append(getCache()).append(","); if (getEnvironment() != null) sb.append("Environment: ").append(getEnvironment()).append(","); if (getServiceRole() != null) sb.append("ServiceRole: ").append(getServiceRole()).append(","); if (getLogConfig() != null) sb.append("LogConfig: ").append(getLogConfig()).append(","); if (getBuildTimeoutInMinutes() != null) sb.append("BuildTimeoutInMinutes: ").append(getBuildTimeoutInMinutes()).append(","); if (getQueuedTimeoutInMinutes() != null) sb.append("QueuedTimeoutInMinutes: ").append(getQueuedTimeoutInMinutes()).append(","); if (getComplete() != null) sb.append("Complete: ").append(getComplete()).append(","); if (getInitiator() != null) sb.append("Initiator: ").append(getInitiator()).append(","); if (getVpcConfig() != null) sb.append("VpcConfig: ").append(getVpcConfig()).append(","); if (getEncryptionKey() != null) sb.append("EncryptionKey: ").append(getEncryptionKey()).append(","); if (getBuildBatchNumber() != null) sb.append("BuildBatchNumber: ").append(getBuildBatchNumber()).append(","); if (getFileSystemLocations() != null) sb.append("FileSystemLocations: ").append(getFileSystemLocations()).append(","); if (getBuildBatchConfig() != null) sb.append("BuildBatchConfig: ").append(getBuildBatchConfig()).append(","); if (getBuildGroups() != null) sb.append("BuildGroups: ").append(getBuildGroups()).append(","); if (getDebugSessionEnabled() != null) sb.append("DebugSessionEnabled: ").append(getDebugSessionEnabled()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof BuildBatch == false) return false; BuildBatch other = (BuildBatch) obj; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == 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.getCurrentPhase() == null ^ this.getCurrentPhase() == null) return false; if (other.getCurrentPhase() != null && other.getCurrentPhase().equals(this.getCurrentPhase()) == false) return false; if (other.getBuildBatchStatus() == null ^ this.getBuildBatchStatus() == null) return false; if (other.getBuildBatchStatus() != null && other.getBuildBatchStatus().equals(this.getBuildBatchStatus()) == false) return false; if (other.getSourceVersion() == null ^ this.getSourceVersion() == null) return false; if (other.getSourceVersion() != null && other.getSourceVersion().equals(this.getSourceVersion()) == false) return false; if (other.getResolvedSourceVersion() == null ^ this.getResolvedSourceVersion() == null) return false; if (other.getResolvedSourceVersion() != null && other.getResolvedSourceVersion().equals(this.getResolvedSourceVersion()) == false) return false; if (other.getProjectName() == null ^ this.getProjectName() == null) return false; if (other.getProjectName() != null && other.getProjectName().equals(this.getProjectName()) == false) return false; if (other.getPhases() == null ^ this.getPhases() == null) return false; if (other.getPhases() != null && other.getPhases().equals(this.getPhases()) == false) return false; if (other.getSource() == null ^ this.getSource() == null) return false; if (other.getSource() != null && other.getSource().equals(this.getSource()) == false) return false; if (other.getSecondarySources() == null ^ this.getSecondarySources() == null) return false; if (other.getSecondarySources() != null && other.getSecondarySources().equals(this.getSecondarySources()) == false) return false; if (other.getSecondarySourceVersions() == null ^ this.getSecondarySourceVersions() == null) return false; if (other.getSecondarySourceVersions() != null && other.getSecondarySourceVersions().equals(this.getSecondarySourceVersions()) == false) return false; if (other.getArtifacts() == null ^ this.getArtifacts() == null) return false; if (other.getArtifacts() != null && other.getArtifacts().equals(this.getArtifacts()) == false) return false; if (other.getSecondaryArtifacts() == null ^ this.getSecondaryArtifacts() == null) return false; if (other.getSecondaryArtifacts() != null && other.getSecondaryArtifacts().equals(this.getSecondaryArtifacts()) == false) return false; if (other.getCache() == null ^ this.getCache() == null) return false; if (other.getCache() != null && other.getCache().equals(this.getCache()) == false) return false; if (other.getEnvironment() == null ^ this.getEnvironment() == null) return false; if (other.getEnvironment() != null && other.getEnvironment().equals(this.getEnvironment()) == false) return false; if (other.getServiceRole() == null ^ this.getServiceRole() == null) return false; if (other.getServiceRole() != null && other.getServiceRole().equals(this.getServiceRole()) == false) return false; if (other.getLogConfig() == null ^ this.getLogConfig() == null) return false; if (other.getLogConfig() != null && other.getLogConfig().equals(this.getLogConfig()) == false) return false; if (other.getBuildTimeoutInMinutes() == null ^ this.getBuildTimeoutInMinutes() == null) return false; if (other.getBuildTimeoutInMinutes() != null && other.getBuildTimeoutInMinutes().equals(this.getBuildTimeoutInMinutes()) == false) return false; if (other.getQueuedTimeoutInMinutes() == null ^ this.getQueuedTimeoutInMinutes() == null) return false; if (other.getQueuedTimeoutInMinutes() != null && other.getQueuedTimeoutInMinutes().equals(this.getQueuedTimeoutInMinutes()) == false) return false; if (other.getComplete() == null ^ this.getComplete() == null) return false; if (other.getComplete() != null && other.getComplete().equals(this.getComplete()) == false) return false; if (other.getInitiator() == null ^ this.getInitiator() == null) return false; if (other.getInitiator() != null && other.getInitiator().equals(this.getInitiator()) == false) return false; if (other.getVpcConfig() == null ^ this.getVpcConfig() == null) return false; if (other.getVpcConfig() != null && other.getVpcConfig().equals(this.getVpcConfig()) == false) return false; if (other.getEncryptionKey() == null ^ this.getEncryptionKey() == null) return false; if (other.getEncryptionKey() != null && other.getEncryptionKey().equals(this.getEncryptionKey()) == false) return false; if (other.getBuildBatchNumber() == null ^ this.getBuildBatchNumber() == null) return false; if (other.getBuildBatchNumber() != null && other.getBuildBatchNumber().equals(this.getBuildBatchNumber()) == false) return false; if (other.getFileSystemLocations() == null ^ this.getFileSystemLocations() == null) return false; if (other.getFileSystemLocations() != null && other.getFileSystemLocations().equals(this.getFileSystemLocations()) == false) return false; if (other.getBuildBatchConfig() == null ^ this.getBuildBatchConfig() == null) return false; if (other.getBuildBatchConfig() != null && other.getBuildBatchConfig().equals(this.getBuildBatchConfig()) == false) return false; if (other.getBuildGroups() == null ^ this.getBuildGroups() == null) return false; if (other.getBuildGroups() != null && other.getBuildGroups().equals(this.getBuildGroups()) == false) return false; if (other.getDebugSessionEnabled() == null ^ this.getDebugSessionEnabled() == null) return false; if (other.getDebugSessionEnabled() != null && other.getDebugSessionEnabled().equals(this.getDebugSessionEnabled()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getCurrentPhase() == null) ? 0 : getCurrentPhase().hashCode()); hashCode = prime * hashCode + ((getBuildBatchStatus() == null) ? 0 : getBuildBatchStatus().hashCode()); hashCode = prime * hashCode + ((getSourceVersion() == null) ? 0 : getSourceVersion().hashCode()); hashCode = prime * hashCode + ((getResolvedSourceVersion() == null) ? 0 : getResolvedSourceVersion().hashCode()); hashCode = prime * hashCode + ((getProjectName() == null) ? 0 : getProjectName().hashCode()); hashCode = prime * hashCode + ((getPhases() == null) ? 0 : getPhases().hashCode()); hashCode = prime * hashCode + ((getSource() == null) ? 0 : getSource().hashCode()); hashCode = prime * hashCode + ((getSecondarySources() == null) ? 0 : getSecondarySources().hashCode()); hashCode = prime * hashCode + ((getSecondarySourceVersions() == null) ? 0 : getSecondarySourceVersions().hashCode()); hashCode = prime * hashCode + ((getArtifacts() == null) ? 0 : getArtifacts().hashCode()); hashCode = prime * hashCode + ((getSecondaryArtifacts() == null) ? 0 : getSecondaryArtifacts().hashCode()); hashCode = prime * hashCode + ((getCache() == null) ? 0 : getCache().hashCode()); hashCode = prime * hashCode + ((getEnvironment() == null) ? 0 : getEnvironment().hashCode()); hashCode = prime * hashCode + ((getServiceRole() == null) ? 0 : getServiceRole().hashCode()); hashCode = prime * hashCode + ((getLogConfig() == null) ? 0 : getLogConfig().hashCode()); hashCode = prime * hashCode + ((getBuildTimeoutInMinutes() == null) ? 0 : getBuildTimeoutInMinutes().hashCode()); hashCode = prime * hashCode + ((getQueuedTimeoutInMinutes() == null) ? 0 : getQueuedTimeoutInMinutes().hashCode()); hashCode = prime * hashCode + ((getComplete() == null) ? 0 : getComplete().hashCode()); hashCode = prime * hashCode + ((getInitiator() == null) ? 0 : getInitiator().hashCode()); hashCode = prime * hashCode + ((getVpcConfig() == null) ? 0 : getVpcConfig().hashCode()); hashCode = prime * hashCode + ((getEncryptionKey() == null) ? 0 : getEncryptionKey().hashCode()); hashCode = prime * hashCode + ((getBuildBatchNumber() == null) ? 0 : getBuildBatchNumber().hashCode()); hashCode = prime * hashCode + ((getFileSystemLocations() == null) ? 0 : getFileSystemLocations().hashCode()); hashCode = prime * hashCode + ((getBuildBatchConfig() == null) ? 0 : getBuildBatchConfig().hashCode()); hashCode = prime * hashCode + ((getBuildGroups() == null) ? 0 : getBuildGroups().hashCode()); hashCode = prime * hashCode + ((getDebugSessionEnabled() == null) ? 0 : getDebugSessionEnabled().hashCode()); return hashCode; } @Override public BuildBatch clone() { try { return (BuildBatch) 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.BuildBatchMarshaller.getInstance().marshall(this, protocolMarshaller); } }