Interface BuildSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BuildSummary.Builder,BuildSummary>,SdkBuilder<BuildSummary.Builder,BuildSummary>,SdkPojo
- Enclosing class:
- BuildSummary
public static interface BuildSummary.Builder extends SdkPojo, CopyableBuilder<BuildSummary.Builder,BuildSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BuildSummary.Builderarn(String arn)The batch build ARN.BuildSummary.BuilderbuildStatus(String buildStatus)The status of the build group.BuildSummary.BuilderbuildStatus(StatusType buildStatus)The status of the build group.default BuildSummary.BuilderprimaryArtifact(Consumer<ResolvedArtifact.Builder> primaryArtifact)AResolvedArtifactobject that represents the primary build artifacts for the build group.BuildSummary.BuilderprimaryArtifact(ResolvedArtifact primaryArtifact)AResolvedArtifactobject that represents the primary build artifacts for the build group.BuildSummary.BuilderrequestedOn(Instant requestedOn)When the build was started, expressed in Unix time format.BuildSummary.BuildersecondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)An array ofResolvedArtifactobjects that represents the secondary build artifacts for the build group.BuildSummary.BuildersecondaryArtifacts(Consumer<ResolvedArtifact.Builder>... secondaryArtifacts)An array ofResolvedArtifactobjects that represents the secondary build artifacts for the build group.BuildSummary.BuildersecondaryArtifacts(ResolvedArtifact... secondaryArtifacts)An array ofResolvedArtifactobjects that represents the secondary build artifacts for the build group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
BuildSummary.Builder arn(String arn)
The batch build ARN.
- Parameters:
arn- The batch build ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedOn
BuildSummary.Builder requestedOn(Instant requestedOn)
When the build was started, expressed in Unix time format.
- Parameters:
requestedOn- When the build was started, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildStatus
BuildSummary.Builder buildStatus(String buildStatus)
The status of the build group.
- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
- Parameters:
buildStatus- The status of the build group.- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
buildStatus
BuildSummary.Builder buildStatus(StatusType buildStatus)
The status of the build group.
- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
- Parameters:
buildStatus- The status of the build group.- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
primaryArtifact
BuildSummary.Builder primaryArtifact(ResolvedArtifact primaryArtifact)
A
ResolvedArtifactobject that represents the primary build artifacts for the build group.- Parameters:
primaryArtifact- AResolvedArtifactobject that represents the primary build artifacts for the build group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryArtifact
default BuildSummary.Builder primaryArtifact(Consumer<ResolvedArtifact.Builder> primaryArtifact)
A
This is a convenience method that creates an instance of theResolvedArtifactobject that represents the primary build artifacts for the build group.ResolvedArtifact.Builderavoiding the need to create one manually viaResolvedArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryArtifact(ResolvedArtifact).- Parameters:
primaryArtifact- a consumer that will call methods onResolvedArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryArtifact(ResolvedArtifact)
-
secondaryArtifacts
BuildSummary.Builder secondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)
An array of
ResolvedArtifactobjects that represents the secondary build artifacts for the build group.- Parameters:
secondaryArtifacts- An array ofResolvedArtifactobjects that represents the secondary build artifacts for the build group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryArtifacts
BuildSummary.Builder secondaryArtifacts(ResolvedArtifact... secondaryArtifacts)
An array of
ResolvedArtifactobjects that represents the secondary build artifacts for the build group.- Parameters:
secondaryArtifacts- An array ofResolvedArtifactobjects that represents the secondary build artifacts for the build group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryArtifacts
BuildSummary.Builder secondaryArtifacts(Consumer<ResolvedArtifact.Builder>... secondaryArtifacts)
An array of
This is a convenience method that creates an instance of theResolvedArtifactobjects that represents the secondary build artifacts for the build group.ResolvedArtifact.Builderavoiding the need to create one manually viaResolvedArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#secondaryArtifacts(List.) - Parameters:
secondaryArtifacts- a consumer that will call methods onResolvedArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#secondaryArtifacts(java.util.Collection)
-
-