@Generated(value="software.amazon.awssdk:codegen") public final class UpdateProjectRequest extends CodeBuildRequest implements ToCopyableBuilder<UpdateProjectRequest.Builder,UpdateProjectRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateProjectRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ProjectArtifacts |
artifacts()
Information to be changed about the build output artifacts for the build project.
|
Boolean |
badgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
|
ProjectBuildBatchConfig |
buildBatchConfig()
Returns the value of the BuildBatchConfig property for this object.
|
static UpdateProjectRequest.Builder |
builder() |
ProjectCache |
cache()
Stores recently used information so that it can be quickly accessed at a later time.
|
Integer |
concurrentBuildLimit()
The maximum number of concurrent builds that are allowed for this project.
|
String |
description()
A new or replacement description of the build project.
|
String |
encryptionKey()
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
|
ProjectEnvironment |
environment()
Information to be changed about the build environment for the build project.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ProjectFileSystemLocation> |
fileSystemLocations()
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFileSystemLocations()
For responses, this returns true if the service returned a value for the FileSystemLocations property.
|
int |
hashCode() |
boolean |
hasSecondaryArtifacts()
For responses, this returns true if the service returned a value for the SecondaryArtifacts property.
|
boolean |
hasSecondarySources()
For responses, this returns true if the service returned a value for the SecondarySources property.
|
boolean |
hasSecondarySourceVersions()
For responses, this returns true if the service returned a value for the SecondarySourceVersions property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
LogsConfig |
logsConfig()
Information about logs for the build project.
|
String |
name()
The name of the build project.
|
Integer |
queuedTimeoutInMinutes()
The number of minutes a build is allowed to be queued before it times out.
|
List<SdkField<?>> |
sdkFields() |
List<ProjectArtifacts> |
secondaryArtifacts()
An array of
ProjectArtifact objects. |
List<ProjectSource> |
secondarySources()
An array of
ProjectSource objects. |
List<ProjectSourceVersion> |
secondarySourceVersions()
An array of
ProjectSourceVersion objects. |
static Class<? extends UpdateProjectRequest.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services
services on behalf of the Amazon Web Services account.
|
ProjectSource |
source()
Information to be changed about the build input source code for the build project.
|
String |
sourceVersion()
A version of the build input to be built for this project.
|
List<Tag> |
tags()
An updated list of tag key and value pairs associated with this build project.
|
Integer |
timeoutInMinutes()
The replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related
build that did not get marked as completed.
|
UpdateProjectRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VpcConfig |
vpcConfig()
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the build project.
You cannot change a build project's name.
You cannot change a build project's name.
public final String description()
A new or replacement description of the build project.
public final ProjectSource source()
Information to be changed about the build input source code for the build project.
public final boolean hasSecondarySources()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ProjectSource> secondarySources()
An array of ProjectSource objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecondarySources() method.
ProjectSource objects.public final String sourceVersion()
A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag 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 S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion is specified at the build level, then that version takes precedence over this
sourceVersion (at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
For CodeCommit: the commit ID, branch, or Git tag 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 S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion is specified at the build level, then that version takes precedence over
this sourceVersion (at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public final boolean hasSecondarySourceVersions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ProjectSourceVersion> secondarySourceVersions()
An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at
the build level, then they take over these secondarySourceVersions (at the project level).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecondarySourceVersions() method.
ProjectSourceVersion objects. If secondarySourceVersions is
specified at the build level, then they take over these secondarySourceVersions (at the
project level).public final ProjectArtifacts artifacts()
Information to be changed about the build output artifacts for the build project.
public final boolean hasSecondaryArtifacts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ProjectArtifacts> secondaryArtifacts()
An array of ProjectArtifact objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecondaryArtifacts() method.
ProjectArtifact objects.public final ProjectCache cache()
Stores recently used information so that it can be quickly accessed at a later time.
public final ProjectEnvironment environment()
Information to be changed about the build environment for the build project.
public final String serviceRole()
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
public final Integer timeoutInMinutes()
The replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.
public final Integer queuedTimeoutInMinutes()
The number of minutes a build is allowed to be queued before it times out.
public final String encryptionKey()
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the
format alias/<alias-name>).
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using
the format alias/<alias-name>).
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
public final VpcConfig vpcConfig()
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
public final Boolean badgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
public final LogsConfig logsConfig()
Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
public final boolean hasFileSystemLocations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ProjectFileSystemLocation> fileSystemLocations()
An array of ProjectFileSystemLocation objects for a CodeBuild build project. A
ProjectFileSystemLocation object specifies the identifier, location,
mountOptions, mountPoint, and type of a file system created using Amazon
Elastic File System.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFileSystemLocations() method.
ProjectFileSystemLocation objects for a CodeBuild build project. A
ProjectFileSystemLocation object specifies the identifier,
location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.public final ProjectBuildBatchConfig buildBatchConfig()
public final Integer concurrentBuildLimit()
The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
public UpdateProjectRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateProjectRequest.Builder,UpdateProjectRequest>toBuilder in class CodeBuildRequestpublic static UpdateProjectRequest.Builder builder()
public static Class<? extends UpdateProjectRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.