Interface BuildConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>,SdkBuilder<BuildConfiguration.Builder,BuildConfiguration>,SdkPojo
- Enclosing class:
- BuildConfiguration
public static interface BuildConfiguration.Builder extends SdkPojo, CopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildConfiguration.BuilderartifactName(String artifactName)The name of the artifact of the CodeBuild build.BuildConfiguration.BuildercodeBuildServiceRole(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.BuildConfiguration.BuildercomputeType(String computeType)Information about the compute resources the build project will use.BuildConfiguration.BuildercomputeType(ComputeType computeType)Information about the compute resources the build project will use.BuildConfiguration.Builderimage(String image)The ID of the Docker image to use for this build project.BuildConfiguration.BuildertimeoutInMinutes(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.-
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
-
artifactName
BuildConfiguration.Builder artifactName(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
codeBuildServiceRole
BuildConfiguration.Builder codeBuildServiceRole(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
BuildConfiguration.Builder computeType(String 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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComputeType,ComputeType
-
-
computeType
BuildConfiguration.Builder computeType(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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComputeType,ComputeType
-
-
image
BuildConfiguration.Builder image(String image)
The ID of the Docker image to use for this build project.
- Parameters:
image- The ID of the Docker image to use for this build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutInMinutes
BuildConfiguration.Builder timeoutInMinutes(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-