@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProjectBuildBatchConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains configuration information about a batch build project.
Constructor and Description |
---|
ProjectBuildBatchConfig() |
Modifier and Type | Method and Description |
---|---|
ProjectBuildBatchConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBatchReportMode()
Specifies how build status reports are sent to the source provider for the batch build.
|
Boolean |
getCombineArtifacts()
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
|
BatchRestrictions |
getRestrictions()
A
BatchRestrictions object that specifies the restrictions for the batch build. |
String |
getServiceRole()
Specifies the service role ARN for the batch build project.
|
Integer |
getTimeoutInMins()
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
|
int |
hashCode() |
Boolean |
isCombineArtifacts()
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchReportMode(String batchReportMode)
Specifies how build status reports are sent to the source provider for the batch build.
|
void |
setCombineArtifacts(Boolean combineArtifacts)
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
|
void |
setRestrictions(BatchRestrictions restrictions)
A
BatchRestrictions object that specifies the restrictions for the batch build. |
void |
setServiceRole(String serviceRole)
Specifies the service role ARN for the batch build project.
|
void |
setTimeoutInMins(Integer timeoutInMins)
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
|
String |
toString()
Returns a string representation of this object.
|
ProjectBuildBatchConfig |
withBatchReportMode(BatchReportModeType batchReportMode)
Specifies how build status reports are sent to the source provider for the batch build.
|
ProjectBuildBatchConfig |
withBatchReportMode(String batchReportMode)
Specifies how build status reports are sent to the source provider for the batch build.
|
ProjectBuildBatchConfig |
withCombineArtifacts(Boolean combineArtifacts)
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
|
ProjectBuildBatchConfig |
withRestrictions(BatchRestrictions restrictions)
A
BatchRestrictions object that specifies the restrictions for the batch build. |
ProjectBuildBatchConfig |
withServiceRole(String serviceRole)
Specifies the service role ARN for the batch build project.
|
ProjectBuildBatchConfig |
withTimeoutInMins(Integer timeoutInMins)
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
|
public void setServiceRole(String serviceRole)
Specifies the service role ARN for the batch build project.
serviceRole
- Specifies the service role ARN for the batch build project.public String getServiceRole()
Specifies the service role ARN for the batch build project.
public ProjectBuildBatchConfig withServiceRole(String serviceRole)
Specifies the service role ARN for the batch build project.
serviceRole
- Specifies the service role ARN for the batch build project.public void setCombineArtifacts(Boolean combineArtifacts)
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
combineArtifacts
- Specifies if the build artifacts for the batch build should be combined into a single artifact location.public Boolean getCombineArtifacts()
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
public ProjectBuildBatchConfig withCombineArtifacts(Boolean combineArtifacts)
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
combineArtifacts
- Specifies if the build artifacts for the batch build should be combined into a single artifact location.public Boolean isCombineArtifacts()
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
public void setRestrictions(BatchRestrictions restrictions)
A BatchRestrictions
object that specifies the restrictions for the batch build.
restrictions
- A BatchRestrictions
object that specifies the restrictions for the batch build.public BatchRestrictions getRestrictions()
A BatchRestrictions
object that specifies the restrictions for the batch build.
BatchRestrictions
object that specifies the restrictions for the batch build.public ProjectBuildBatchConfig withRestrictions(BatchRestrictions restrictions)
A BatchRestrictions
object that specifies the restrictions for the batch build.
restrictions
- A BatchRestrictions
object that specifies the restrictions for the batch build.public void setTimeoutInMins(Integer timeoutInMins)
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
timeoutInMins
- Specifies the maximum amount of time, in minutes, that the batch build must be completed in.public Integer getTimeoutInMins()
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
public ProjectBuildBatchConfig withTimeoutInMins(Integer timeoutInMins)
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
timeoutInMins
- Specifies the maximum amount of time, in minutes, that the batch build must be completed in.public void setBatchReportMode(String batchReportMode)
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
batchReportMode
- Specifies how build status reports are sent to the source provider for the batch build. This property is
only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
BatchReportModeType
public String getBatchReportMode()
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
BatchReportModeType
public ProjectBuildBatchConfig withBatchReportMode(String batchReportMode)
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
batchReportMode
- Specifies how build status reports are sent to the source provider for the batch build. This property is
only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
BatchReportModeType
public ProjectBuildBatchConfig withBatchReportMode(BatchReportModeType batchReportMode)
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
batchReportMode
- Specifies how build status reports are sent to the source provider for the batch build. This property is
only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
project is configured to report build statuses to the source provider.
(Default) Aggregate all of the build statuses into a single status report.
Send a separate status report for each individual build.
BatchReportModeType
public String toString()
toString
in class Object
Object.toString()
public ProjectBuildBatchConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.