StructuredPojo
, ToCopyableBuilder<Build.Builder,Build>
@Generated("software.amazon.awssdk:codegen") public class Build extends Object implements StructuredPojo, ToCopyableBuilder<Build.Builder,Build>
Information about a build.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Build.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The Amazon Resource Name (ARN) of the build.
|
BuildArtifacts |
artifacts() |
Information about the output artifacts for the build.
|
Boolean |
buildComplete() |
Whether the build has finished.
|
static Build.Builder |
builder() |
|
String |
buildStatus() |
The current status of the build.
|
String |
currentPhase() |
The current build phase.
|
Date |
endTime() |
When the build process ended, expressed in Unix time format.
|
ProjectEnvironment |
environment() |
Information about the build environment for this build.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The unique ID for the build.
|
String |
initiator() |
The entity that started the build.
|
LogsLocation |
logs() |
Information about the build's logs in Amazon CloudWatch Logs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
List<BuildPhase> |
phases() |
Information about all previous build phases that are completed and information about any current build phase that
is not yet complete.
|
String |
projectName() |
The name of the build project.
|
static Class<? extends Build.Builder> |
serializableBuilderClass() |
|
ProjectSource |
source() |
Information about the source code to be built.
|
String |
sourceVersion() |
Any version identifier for the version of the source code to be built.
|
Date |
startTime() |
When the build process started, expressed in Unix time format.
|
Integer |
timeoutInMinutes() |
How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as
completed.
|
Build.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String id()
The unique ID for the build.
public String arn()
The Amazon Resource Name (ARN) of the build.
public Date startTime()
When the build process started, expressed in Unix time format.
public Date endTime()
When the build process ended, expressed in Unix time format.
public String currentPhase()
The current build phase.
public String buildStatus()
The current status of the build. Valid values include:
FAILED
: The build failed.
FAULT
: The build faulted.
IN_PROGRESS
: The build is still in progress.
STOPPED
: The build stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
FAILED
: The build failed.
FAULT
: The build faulted.
IN_PROGRESS
: The build is still in progress.
STOPPED
: The build stopped.
SUCCEEDED
: The build succeeded.
TIMED_OUT
: The build timed out.
StatusType
public String sourceVersion()
Any version identifier for the version of the source code to be built.
public String projectName()
The name of the build project.
public List<BuildPhase> phases()
Information about all previous build phases that are completed and information about any current build phase that is not yet complete.
public ProjectSource source()
Information about the source code to be built.
public BuildArtifacts artifacts()
Information about the output artifacts for the build.
public ProjectEnvironment environment()
Information about the build environment for this build.
public LogsLocation logs()
Information about the build's logs in Amazon CloudWatch Logs.
public Integer timeoutInMinutes()
How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.
public Boolean buildComplete()
Whether the build has finished. True if completed; otherwise, false.
public String initiator()
The entity that started the build. Valid values include:
If AWS CodePipeline started the build, the pipeline's name (for example,
codepipeline/my-demo-pipeline
).
If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example
MyUserName
).
If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin
.
If AWS CodePipeline started the build, the pipeline's name (for example,
codepipeline/my-demo-pipeline
).
If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example
MyUserName
).
If the Jenkins plugin for AWS CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin
.
public Build.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Build.Builder,Build>
public static Build.Builder builder()
public static Class<? extends Build.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.