@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuildConfiguration extends Object implements Serializable, Cloneable
Settings for an AWS CodeBuild build.
Constructor and Description |
---|
BuildConfiguration() |
Modifier and Type | Method and Description |
---|---|
BuildConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactName()
The name of the artifact of the CodeBuild build.
|
String |
getCodeBuildServiceRole()
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.
|
String |
getComputeType()
Information about the compute resources the build project will use.
|
String |
getImage()
The ID of the Docker image to use for this build project.
|
Integer |
getTimeoutInMinutes()
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.
|
int |
hashCode() |
void |
setArtifactName(String artifactName)
The name of the artifact of the CodeBuild build.
|
void |
setCodeBuildServiceRole(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.
|
void |
setComputeType(ComputeType computeType)
Information about the compute resources the build project will use.
|
void |
setComputeType(String computeType)
Information about the compute resources the build project will use.
|
void |
setImage(String image)
The ID of the Docker image to use for this build project.
|
void |
setTimeoutInMinutes(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BuildConfiguration |
withArtifactName(String artifactName)
The name of the artifact of the CodeBuild build.
|
BuildConfiguration |
withCodeBuildServiceRole(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 |
withComputeType(ComputeType computeType)
Information about the compute resources the build project will use.
|
BuildConfiguration |
withComputeType(String computeType)
Information about the compute resources the build project will use.
|
BuildConfiguration |
withImage(String image)
The ID of the Docker image to use for this build project.
|
BuildConfiguration |
withTimeoutInMinutes(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.
|
public void setArtifactName(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.
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<
/i>-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 getArtifactName()
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 BuildConfiguration withArtifactName(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.
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<
/i>-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 void setCodeBuildServiceRole(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.
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 String getCodeBuildServiceRole()
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 BuildConfiguration withCodeBuildServiceRole(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.
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 void setComputeType(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
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
ComputeType
public String getComputeType()
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
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 BuildConfiguration withComputeType(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
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
ComputeType
public void setComputeType(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
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
ComputeType
public BuildConfiguration withComputeType(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
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
ComputeType
public void setImage(String image)
The ID of the Docker image to use for this build project.
image
- The ID of the Docker image to use for this build project.public String getImage()
The ID of the Docker image to use for this build project.
public BuildConfiguration withImage(String image)
The ID of the Docker image to use for this build project.
image
- The ID of the Docker image to use for this build project.public void setTimeoutInMinutes(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.
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 Integer getTimeoutInMinutes()
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 withTimeoutInMinutes(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.
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 String toString()
toString
in class Object
Object.toString()
public BuildConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.