Class ProjectBuildBatchConfig
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.ProjectBuildBatchConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>
@Generated("software.amazon.awssdk:codegen") public final class ProjectBuildBatchConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>
Contains configuration information about a batch build project.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProjectBuildBatchConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchReportModeTypebatchReportMode()Specifies how build status reports are sent to the source provider for the batch build.StringbatchReportModeAsString()Specifies how build status reports are sent to the source provider for the batch build.static ProjectBuildBatchConfig.Builderbuilder()BooleancombineArtifacts()Specifies if the build artifacts for the batch build should be combined into a single artifact location.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BatchRestrictionsrestrictions()ABatchRestrictionsobject that specifies the restrictions for the batch build.List<SdkField<?>>sdkFields()static Class<? extends ProjectBuildBatchConfig.Builder>serializableBuilderClass()StringserviceRole()Specifies the service role ARN for the batch build project.IntegertimeoutInMins()Specifies the maximum amount of time, in minutes, that the batch build must be completed in.ProjectBuildBatchConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceRole
public final String serviceRole()
Specifies the service role ARN for the batch build project.
- Returns:
- Specifies the service role ARN for the batch build project.
-
combineArtifacts
public final Boolean combineArtifacts()
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
- Returns:
- Specifies if the build artifacts for the batch build should be combined into a single artifact location.
-
restrictions
public final BatchRestrictions restrictions()
A
BatchRestrictionsobject that specifies the restrictions for the batch build.- Returns:
- A
BatchRestrictionsobject that specifies the restrictions for the batch build.
-
timeoutInMins
public final Integer timeoutInMins()
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
- Returns:
- Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
-
batchReportMode
public final 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.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
If the service returns an enum value that is not available in the current SDK version,
batchReportModewill returnBatchReportModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombatchReportModeAsString().- Returns:
- 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.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
- See Also:
BatchReportModeType
-
batchReportModeAsString
public final String batchReportModeAsString()
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.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
If the service returns an enum value that is not available in the current SDK version,
batchReportModewill returnBatchReportModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombatchReportModeAsString().- Returns:
- 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.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
- See Also:
BatchReportModeType
-
toBuilder
public ProjectBuildBatchConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProjectBuildBatchConfig.Builder,ProjectBuildBatchConfig>
-
builder
public static ProjectBuildBatchConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProjectBuildBatchConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
-