@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) |
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 |
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 |
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 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.