@Generated(value="software.amazon.awssdk:codegen") public final class StartBuildRequest extends CodeBuildRequest implements ToCopyableBuilder<StartBuildRequest.Builder,StartBuildRequest>
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
StartBuildRequest.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
ProjectArtifacts | 
artifactsOverride()
 Build output artifact settings that override, for this build only, the latest ones already defined in the build
 project. 
 | 
static StartBuildRequest.Builder | 
builder()  | 
String | 
buildspecOverride()
 A build spec declaration that overrides, for this build only, the latest one already defined in the build
 project. 
 | 
ProjectCache | 
cacheOverride()
 A ProjectCache object specified for this build that overrides the one defined in the build project. 
 | 
String | 
certificateOverride()
 The name of a certificate for this build that overrides the one specified in the build project. 
 | 
ComputeType | 
computeTypeOverride()
 The name of a compute type for this build that overrides the one specified in the build project. 
 | 
String | 
computeTypeOverrideAsString()
 The name of a compute type for this build that overrides the one specified in the build project. 
 | 
EnvironmentType | 
environmentTypeOverride()
 A container type for this build that overrides the one specified in the build project. 
 | 
String | 
environmentTypeOverrideAsString()
 A container type for this build that overrides the one specified in the build project. 
 | 
List<EnvironmentVariable> | 
environmentVariablesOverride()
 A set of environment variables that overrides, for this build only, the latest ones already defined in the build
 project. 
 | 
boolean | 
equals(Object obj)  | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)
Used to retrieve the value of a field from any class that extends  
SdkRequest. | 
Integer | 
gitCloneDepthOverride()
 The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous
 depth of history defined in the build project. 
 | 
int | 
hashCode()  | 
String | 
idempotencyToken()
 A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. 
 | 
String | 
imageOverride()
 The name of an image for this build that overrides the one specified in the build project. 
 | 
Boolean | 
insecureSslOverride()
 Enable this flag to override the insecure SSL setting that is specified in the build project. 
 | 
LogsConfig | 
logsConfigOverride()
 Log settings for this build that override the log settings defined in the build project. 
 | 
Boolean | 
privilegedModeOverride()
 Enable this flag to override privileged mode in the build project. 
 | 
String | 
projectName()
 The name of the AWS CodeBuild build project to start running a build. 
 | 
Integer | 
queuedTimeoutInMinutesOverride()
 The number of minutes a build is allowed to be queued before it times out. 
 | 
Boolean | 
reportBuildStatusOverride()
 Set to true to report to your source provider the status of a build's start and completion. 
 | 
List<SdkField<?>> | 
sdkFields()  | 
List<ProjectArtifacts> | 
secondaryArtifactsOverride()
 An array of  
ProjectArtifacts objects. | 
List<ProjectSource> | 
secondarySourcesOverride()
 An array of  
ProjectSource objects. | 
List<ProjectSourceVersion> | 
secondarySourcesVersionOverride()
 An array of  
ProjectSourceVersion objects that specify one or more versions of the project's
 secondary sources to be used for this build only. | 
static Class<? extends StartBuildRequest.Builder> | 
serializableBuilderClass()  | 
String | 
serviceRoleOverride()
 The name of a service role for this build that overrides the one specified in the build project. 
 | 
SourceAuth | 
sourceAuthOverride()
 An authorization type for this build that overrides the one defined in the build project. 
 | 
String | 
sourceLocationOverride()
 A location that overrides, for this build, the source location for the one defined in the build project. 
 | 
SourceType | 
sourceTypeOverride()
 A source input type, for this build, that overrides the source input defined in the build project. 
 | 
String | 
sourceTypeOverrideAsString()
 A source input type, for this build, that overrides the source input defined in the build project. 
 | 
String | 
sourceVersion()
 A version of the build input to be built, for this build only. 
 | 
Integer | 
timeoutInMinutesOverride()
 The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, for this build only, the latest
 setting already defined in the build project. 
 | 
StartBuildRequest.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
overrideConfigurationcopypublic String projectName()
The name of the AWS CodeBuild build project to start running a build.
public List<ProjectSource> secondarySourcesOverride()
 An array of ProjectSource objects.
 
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ProjectSource objects.public List<ProjectSourceVersion> secondarySourcesVersionOverride()
 An array of ProjectSourceVersion objects that specify one or more versions of the project's
 secondary sources to be used for this build only.
 
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ProjectSourceVersion objects that specify one or more versions of the project's
         secondary sources to be used for this build only.public String sourceVersion()
A version of the build input to be built, for this build only. If not specified, the latest version is used. If specified, must be one of:
For AWS CodeCommit: the commit ID to use.
 For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
 source code you want to build. If a pull request ID is specified, it must use the format
 pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's
 HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
 
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.
For AWS CodeCommit: the commit ID to use.
         For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
         the source code you want to build. If a pull request ID is specified, it must use the format
         pr/pull-request-ID (for example pr/25). If a branch name is specified, the
         branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
         
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.
public ProjectArtifacts artifactsOverride()
Build output artifact settings that override, for this build only, the latest ones already defined in the build project.
public List<ProjectArtifacts> secondaryArtifactsOverride()
 An array of ProjectArtifacts objects.
 
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ProjectArtifacts objects.public List<EnvironmentVariable> environmentVariablesOverride()
A set of environment variables that overrides, for this build only, the latest ones already defined in the build project.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SourceType sourceTypeOverride()
A source input type, for this build, that overrides the source input defined in the build project.
 If the service returns an enum value that is not available in the current SDK version,
 sourceTypeOverride will return SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
 service is available from sourceTypeOverrideAsString().
 
SourceTypepublic String sourceTypeOverrideAsString()
A source input type, for this build, that overrides the source input defined in the build project.
 If the service returns an enum value that is not available in the current SDK version,
 sourceTypeOverride will return SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
 service is available from sourceTypeOverrideAsString().
 
SourceTypepublic String sourceLocationOverride()
A location that overrides, for this build, the source location for the one defined in the build project.
public SourceAuth sourceAuthOverride()
An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket or GitHub.
public Integer gitCloneDepthOverride()
The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project.
public String buildspecOverride()
A build spec declaration that overrides, for this build only, the latest one already defined in the build project.
public Boolean insecureSslOverride()
Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise.
public Boolean reportBuildStatusOverride()
Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an invalidInputException is thrown.
public EnvironmentType environmentTypeOverride()
A container type for this build that overrides the one specified in the build project.
 If the service returns an enum value that is not available in the current SDK version,
 environmentTypeOverride will return EnvironmentType.UNKNOWN_TO_SDK_VERSION. The raw value
 returned by the service is available from environmentTypeOverrideAsString().
 
EnvironmentTypepublic String environmentTypeOverrideAsString()
A container type for this build that overrides the one specified in the build project.
 If the service returns an enum value that is not available in the current SDK version,
 environmentTypeOverride will return EnvironmentType.UNKNOWN_TO_SDK_VERSION. The raw value
 returned by the service is available from environmentTypeOverrideAsString().
 
EnvironmentTypepublic String imageOverride()
The name of an image for this build that overrides the one specified in the build project.
public ComputeType computeTypeOverride()
The name of a compute type for this build that overrides the one specified in the build project.
 If the service returns an enum value that is not available in the current SDK version,
 computeTypeOverride will return ComputeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by
 the service is available from computeTypeOverrideAsString().
 
ComputeTypepublic String computeTypeOverrideAsString()
The name of a compute type for this build that overrides the one specified in the build project.
 If the service returns an enum value that is not available in the current SDK version,
 computeTypeOverride will return ComputeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by
 the service is available from computeTypeOverrideAsString().
 
ComputeTypepublic String certificateOverride()
The name of a certificate for this build that overrides the one specified in the build project.
public ProjectCache cacheOverride()
A ProjectCache object specified for this build that overrides the one defined in the build project.
public String serviceRoleOverride()
The name of a service role for this build that overrides the one specified in the build project.
public Boolean privilegedModeOverride()
Enable this flag to override privileged mode in the build project.
public Integer timeoutInMinutesOverride()
The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, for this build only, the latest setting already defined in the build project.
public Integer queuedTimeoutInMinutesOverride()
The number of minutes a build is allowed to be queued before it times out.
public String idempotencyToken()
A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.
public LogsConfig logsConfigOverride()
Log settings for this build that override the log settings defined in the build project.
public StartBuildRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<StartBuildRequest.Builder,StartBuildRequest>toBuilder in class CodeBuildRequestpublic static StartBuildRequest.Builder builder()
public static Class<? extends StartBuildRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
 specified should match the member name from the corresponding service-2.json model specified in the
 codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
 If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
 again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.