Build class
Information about a build.
Constructors
-
Build({String? arn, BuildArtifacts? artifacts, String? buildBatchArn, bool? buildComplete, int? buildNumber, StatusType? buildStatus, ProjectCache? cache, String? currentPhase, DebugSession? debugSession, String? encryptionKey, DateTime? endTime, ProjectEnvironment? environment, List<
ExportedEnvironmentVariable> ? exportedEnvironmentVariables, List<ProjectFileSystemLocation> ? fileSystemLocations, String? id, String? initiator, LogsLocation? logs, NetworkInterface? networkInterface, List<BuildPhase> ? phases, String? projectName, int? queuedTimeoutInMinutes, List<String> ? reportArns, String? resolvedSourceVersion, List<BuildArtifacts> ? secondaryArtifacts, List<ProjectSourceVersion> ? secondarySourceVersions, List<ProjectSource> ? secondarySources, String? serviceRole, ProjectSource? source, String? sourceVersion, DateTime? startTime, int? timeoutInMinutes, VpcConfig? vpcConfig}) -
Build.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The Amazon Resource Name (ARN) of the build.
final
- artifacts → BuildArtifacts?
-
Information about the output artifacts for the build.
final
- buildBatchArn → String?
-
The ARN of the batch build that this build is a member of, if applicable.
final
- buildComplete → bool?
-
Whether the build is complete. True if complete; otherwise, false.
final
- buildNumber → int?
-
The number of the build. For each project, the
buildNumber
of its first build is1
. ThebuildNumber
of each subsequent build is incremented by1
. If a build is deleted, thebuildNumber
of other builds does not change.final - buildStatus → StatusType?
-
The current status of the build. Valid values include:
final
- cache → ProjectCache?
-
Information about the cache for the build.
final
- currentPhase → String?
-
The current build phase.
final
- debugSession → DebugSession?
-
Contains information about the debug session for this build.
final
- encryptionKey → String?
-
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be
used for encrypting the build output artifacts.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format
alias/<alias-name>
).final - endTime → DateTime?
-
When the build process ended, expressed in Unix time format.
final
- environment → ProjectEnvironment?
-
Information about the build environment for this build.
final
-
exportedEnvironmentVariables
→ List<
ExportedEnvironmentVariable> ? -
A list of exported environment variables for this build.
final
-
fileSystemLocations
→ List<
ProjectFileSystemLocation> ? -
An array of
ProjectFileSystemLocation
objects for a CodeBuild build project. AProjectFileSystemLocation
object specifies theidentifier
,location
,mountOptions
,mountPoint
, andtype
of a file system created using Amazon Elastic File System.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The unique ID for the build.
final
- initiator → String?
-
The entity that started the build. Valid values include:
final
- logs → LogsLocation?
-
Information about the build's logs in Amazon CloudWatch Logs.
final
- networkInterface → NetworkInterface?
-
Describes a network interface.
final
-
phases
→ List<
BuildPhase> ? -
Information about all previous build phases that are complete and
information about any current build phase that is not yet complete.
final
- projectName → String?
-
The name of the AWS CodeBuild project.
final
- queuedTimeoutInMinutes → int?
-
The number of minutes a build is allowed to be queued before it times out.
final
-
reportArns
→ List<
String> ? -
An array of the ARNs associated with this build's reports.
final
- resolvedSourceVersion → String?
-
An identifier for the version of this build's source code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryArtifacts
→ List<
BuildArtifacts> ? -
An array of
ProjectArtifacts
objects.final -
secondarySources
→ List<
ProjectSource> ? -
An array of
ProjectSource
objects.final -
secondarySourceVersions
→ List<
ProjectSourceVersion> ? -
An array of
ProjectSourceVersion
objects. EachProjectSourceVersion
must be one of:final - serviceRole → String?
-
The name of a service role used for this build.
final
- source → ProjectSource?
-
Information about the source code to be built.
final
- sourceVersion → String?
-
Any version identifier for the version of the source code to be built. If
sourceVersion
is specified at the project level, then thissourceVersion
(at the build level) takes precedence.final - startTime → DateTime?
-
When the build process started, expressed in Unix time format.
final
- timeoutInMinutes → int?
-
How long, in minutes, for AWS CodeBuild to wait before timing out this build
if it does not get marked as completed.
final
- vpcConfig → VpcConfig?
-
If your AWS CodeBuild project accesses resources in an Amazon VPC, you
provide this parameter that identifies the VPC ID and the list of security
group IDs and subnet IDs. The security groups and subnets must belong to the
same VPC. You must provide at least one security group and one subnet ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited