Class BuildConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<BuildConfiguration.Builder,
BuildConfiguration>
Settings for an AWS CodeBuild build.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The name of the artifact of the CodeBuild build.static BuildConfiguration.Builder
builder()
final String
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.final ComputeType
Information about the compute resources the build project will use.final String
Information about the compute resources the build project will use.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
image()
The ID of the Docker image to use for this build project.static Class
<? extends BuildConfiguration.Builder> final Integer
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.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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
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 returnComputeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcomputeTypeAsString()
.- Returns:
- 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
-
- See Also:
-
-
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 returnComputeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcomputeTypeAsString()
.- Returns:
- 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
-
- See Also:
-
-
image
The ID of the Docker image to use for this build project.
- Returns:
- The ID of the Docker image to use for this build project.
-
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.
- Returns:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<BuildConfiguration.Builder,
BuildConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-