@Generated(value="software.amazon.awssdk:codegen") public final class BuildConfiguration extends Object implements ToCopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>
Settings for an AWS CodeBuild build.
Modifier and Type | Class and Description |
---|---|
static interface |
BuildConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
String |
artifactName()
The name of the artifact of the CodeBuild build.
|
static BuildConfiguration.Builder |
builder() |
String |
codeBuildServiceRole()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to
interact with dependent AWS services on behalf of the AWS account.
|
ComputeType |
computeType()
Information about the compute resources the build project will use.
|
String |
computeTypeAsString()
Information about the compute resources the build project will use.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
image()
The ID of the Docker image to use for this build project.
|
static Class<? extends BuildConfiguration.Builder> |
serializableBuilderClass() |
Integer |
timeoutInMinutes()
How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that
does not get marked as completed.
|
BuildConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String artifactName()
The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact -name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.
public String codeBuildServiceRole()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
public ComputeType computeType()
Information about the compute resources the build project will use.
BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds
If the service returns an enum value that is not available in the current SDK version, computeType
will
return ComputeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
computeTypeAsString()
.
BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds
ComputeType
public String computeTypeAsString()
Information about the compute resources the build project will use.
BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds
If the service returns an enum value that is not available in the current SDK version, computeType
will
return ComputeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
computeTypeAsString()
.
BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds
ComputeType
public String image()
The ID of the Docker image to use for this build project.
public Integer timeoutInMinutes()
How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.
public BuildConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>
public static BuildConfiguration.Builder builder()
public static Class<? extends BuildConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.