@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.
|
static UpdateProjectRequest.Builder |
builder() |
ProjectCache |
cache()
Stores recently used information so that it can be quickly accessed at a later time.
|
String |
description()
A new or replacement description of the build project.
|
String |
encryptionKey()
The replacement AWS Key Management Service (AWS KMS) 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
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
ProjectSource objects. |
List<ProjectSource> |
secondarySources()
An array of
ProjectSource objects. |
static Class<? extends UpdateProjectRequest.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The replacement 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.
|
ProjectSource |
source()
Information to be changed about the build input source code for the build project.
|
List<Tag> |
tags()
The replacement set of tags for this build project.
|
Integer |
timeoutInMinutes()
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any
related build that did not get marked as completed.
|
UpdateProjectRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
VpcConfig |
vpcConfig()
VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
overrideConfiguration
copy
public 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 String description()
A new or replacement description of the build project.
public ProjectSource source()
Information to be changed about the build input source code for the build project.
public List<ProjectSource> secondarySources()
An array of ProjectSource
objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ProjectSource
objects.public ProjectArtifacts artifacts()
Information to be changed about the build output artifacts for the build project.
public List<ProjectArtifacts> secondaryArtifacts()
An array of ProjectSource
objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ProjectSource
objects.public ProjectCache cache()
Stores recently used information so that it can be quickly accessed at a later time.
public ProjectEnvironment environment()
Information to be changed about the build environment for the build project.
public String serviceRole()
The replacement 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 Integer timeoutInMinutes()
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.
public Integer queuedTimeoutInMinutes()
The number of minutes a build is allowed to be queued before it times out.
public String encryptionKey()
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.
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 specify either the Amazon Resource Name (ARN)of the CMK or, if available, the CMK's alias (using
the format alias/alias-name
).
public List<Tag> tags()
The replacement set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public VpcConfig vpcConfig()
VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
public Boolean badgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
public LogsConfig logsConfig()
Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
public UpdateProjectRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateProjectRequest.Builder,UpdateProjectRequest>
toBuilder
in class CodeBuildRequest
public static UpdateProjectRequest.Builder builder()
public static Class<? extends UpdateProjectRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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 SdkRequest
fieldName
- 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.