@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifacts()
Information to be changed about the build output artifacts for the build project.
|
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 output artifacts.
|
ProjectEnvironment |
getEnvironment()
Information to be changed about the build environment for the build project.
|
String |
getName()
The name of the build project.
|
String |
getServiceRole()
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 |
getSource()
Information to be changed about the build input source code for the build project.
|
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 before timing out any
related build that did not get marked as completed.
|
int |
hashCode() |
void |
setArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
|
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 output artifacts.
|
void |
setEnvironment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
|
void |
setName(String name)
The name of the build project.
|
void |
setServiceRole(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.
|
void |
setSource(ProjectSource source)
Information to be changed about the build input source code for the build project.
|
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 before timing out 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 output artifacts for the build project.
|
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 output artifacts.
|
UpdateProjectRequest |
withEnvironment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
|
UpdateProjectRequest |
withName(String name)
The name of the build project.
|
UpdateProjectRequest |
withServiceRole(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.
|
UpdateProjectRequest |
withSource(ProjectSource source)
Information to be changed about the build input source code for the build project.
|
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 before timing out any
related build that did not get marked as completed.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the build project.
You cannot change a build project's name.
name
- The name of the build project. You cannot change a build project's name.
public String getName()
The name of the build project.
You cannot change a build project's name.
You cannot change a build project's name.
public UpdateProjectRequest withName(String name)
The name of the build project.
You cannot change a build project's name.
name
- The name of the build project. You cannot change a 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 input source code for the build project.
source
- Information to be changed about the build input source code for the build project.public ProjectSource getSource()
Information to be changed about the build input source code for the build project.
public UpdateProjectRequest withSource(ProjectSource source)
Information to be changed about the build input source code for the build project.
source
- Information to be changed about the build input source code for the build project.public void setArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
artifacts
- Information to be changed about the build output artifacts for the build project.public ProjectArtifacts getArtifacts()
Information to be changed about the build output artifacts for the build project.
public UpdateProjectRequest withArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
artifacts
- Information to be changed about the build output artifacts for the build project.public void setEnvironment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
environment
- Information to be changed about the build environment for the build project.public ProjectEnvironment getEnvironment()
Information to be changed about the build environment for the build project.
public UpdateProjectRequest withEnvironment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
environment
- Information to be changed about the build environment for the build project.public void setServiceRole(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.
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 String getServiceRole()
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 UpdateProjectRequest withServiceRole(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.
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 void setTimeoutInMinutes(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.
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 getTimeoutInMinutes()
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 UpdateProjectRequest withTimeoutInMinutes(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.
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 void setEncryptionKey(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 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 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 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 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 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.