public class UpdateProjectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProjectRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProjectRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifacts()
Information to be changed about the build project's build output artifacts.
|
String |
getDescription()
A new or replacement description of the build project.
|
String |
getEncryptionKey()
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the
build project's build output artifacts.
|
ProjectEnvironment |
getEnvironment()
Information to be changed about the build project's build environment.
|
String |
getName()
The name of the existing build project to change settings.
|
String |
getServiceRole()
The replacement 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.
|
ProjectSource |
getSource()
Information to be changed about the build project's build input source code.
|
List<Tag> |
getTags()
The replacement set of tags for this build project.
|
Integer |
getTimeoutInMinutes()
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build
that did not get marked as completed.
|
int |
hashCode() |
void |
setArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build project's build output artifacts.
|
void |
setDescription(String description)
A new or replacement description of the build project.
|
void |
setEncryptionKey(String encryptionKey)
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the
build project's build output artifacts.
|
void |
setEnvironment(ProjectEnvironment environment)
Information to be changed about the build project's build environment.
|
void |
setName(String name)
The name of the existing build project to change settings.
|
void |
setServiceRole(String serviceRole)
The replacement 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 |
setSource(ProjectSource source)
Information to be changed about the build project's build input source code.
|
void |
setTags(Collection<Tag> tags)
The replacement set of tags for this build project.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build
that did not get marked as completed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateProjectRequest |
withArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build project's build output artifacts.
|
UpdateProjectRequest |
withDescription(String description)
A new or replacement description of the build project.
|
UpdateProjectRequest |
withEncryptionKey(String encryptionKey)
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the
build project's build output artifacts.
|
UpdateProjectRequest |
withEnvironment(ProjectEnvironment environment)
Information to be changed about the build project's build environment.
|
UpdateProjectRequest |
withName(String name)
The name of the existing build project to change settings.
|
UpdateProjectRequest |
withServiceRole(String serviceRole)
The replacement 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.
|
UpdateProjectRequest |
withSource(ProjectSource source)
Information to be changed about the build project's build input source code.
|
UpdateProjectRequest |
withTags(Collection<Tag> tags)
The replacement set of tags for this build project.
|
UpdateProjectRequest |
withTags(Tag... tags)
The replacement set of tags for this build project.
|
UpdateProjectRequest |
withTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build
that did not get marked as completed.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the existing build project to change settings.
You cannot change an existing build project's name.
name
- The name of the existing build project to change settings. You cannot change an existing build project's name.
public String getName()
The name of the existing build project to change settings.
You cannot change an existing build project's name.
You cannot change an existing build project's name.
public UpdateProjectRequest withName(String name)
The name of the existing build project to change settings.
You cannot change an existing build project's name.
name
- The name of the existing build project to change settings. You cannot change an existing build project's name.
public void setDescription(String description)
A new or replacement description of the build project.
description
- A new or replacement description of the build project.public String getDescription()
A new or replacement description of the build project.
public UpdateProjectRequest withDescription(String description)
A new or replacement description of the build project.
description
- A new or replacement description of the build project.public void setSource(ProjectSource source)
Information to be changed about the build project's build input source code.
source
- Information to be changed about the build project's build input source code.public ProjectSource getSource()
Information to be changed about the build project's build input source code.
public UpdateProjectRequest withSource(ProjectSource source)
Information to be changed about the build project's build input source code.
source
- Information to be changed about the build project's build input source code.public void setArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build project's build output artifacts.
artifacts
- Information to be changed about the build project's build output artifacts.public ProjectArtifacts getArtifacts()
Information to be changed about the build project's build output artifacts.
public UpdateProjectRequest withArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build project's build output artifacts.
artifacts
- Information to be changed about the build project's build output artifacts.public void setEnvironment(ProjectEnvironment environment)
Information to be changed about the build project's build environment.
environment
- Information to be changed about the build project's build environment.public ProjectEnvironment getEnvironment()
Information to be changed about the build project's build environment.
public UpdateProjectRequest withEnvironment(ProjectEnvironment environment)
Information to be changed about the build project's build environment.
environment
- Information to be changed about the build project's build environment.public void setServiceRole(String serviceRole)
The replacement 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.
serviceRole
- The replacement 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 getServiceRole()
The replacement 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 UpdateProjectRequest withServiceRole(String serviceRole)
The replacement 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.
serviceRole
- The replacement 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 setTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build that did not get marked as completed.
timeoutInMinutes
- The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any
related build that did not get marked as completed.public Integer getTimeoutInMinutes()
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build that did not get marked as completed.
public UpdateProjectRequest withTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build that did not get marked as completed.
timeoutInMinutes
- The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any
related build that did not get marked as completed.public void setEncryptionKey(String encryptionKey)
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format
alias/alias-name
).
encryptionKey
- The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting
the build project's build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the
format alias/alias-name
).
public String getEncryptionKey()
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format
alias/alias-name
).
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the
format alias/alias-name
).
public UpdateProjectRequest withEncryptionKey(String encryptionKey)
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format
alias/alias-name
).
encryptionKey
- The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting
the build project's build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the
format alias/alias-name
).
public List<Tag> getTags()
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.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public void setTags(Collection<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.
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.
public UpdateProjectRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.
public UpdateProjectRequest withTags(Collection<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.
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.
public String toString()
toString
in class Object
Object.toString()
public UpdateProjectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.