Class BuildConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.BuildConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class BuildConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>
Settings for an AWS CodeBuild build.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBuildConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringartifactName()The name of the artifact of the CodeBuild build.static BuildConfiguration.Builderbuilder()StringcodeBuildServiceRole()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.ComputeTypecomputeType()Information about the compute resources the build project will use.StringcomputeTypeAsString()Information about the compute resources the build project will use.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringimage()The ID of the Docker image to use for this build project.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BuildConfiguration.Builder>serializableBuilderClass()IntegertimeoutInMinutes()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
artifactName
public final 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.
- 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
public final 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.
- 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
public final 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,
computeTypewill 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:
ComputeType
-
-
computeTypeAsString
public final 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,
computeTypewill 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:
ComputeType
-
-
image
public final String 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
public final 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.
- 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
public BuildConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BuildConfiguration.Builder,BuildConfiguration>
-
builder
public static BuildConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends BuildConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-