@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProjectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProjectRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProjectRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifacts()
Information about the build output artifacts for the build project.
|
String |
getDescription()
A description that makes the build project easy to identify.
|
String |
getEncryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
ProjectEnvironment |
getEnvironment()
Information about the build environment for the build project.
|
String |
getName()
The name of the build project.
|
String |
getServiceRole()
The 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 about the build input source code for the build project.
|
List<Tag> |
getTags()
A set of tags for this build project.
|
Integer |
getTimeoutInMinutes()
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not
been marked as completed.
|
int |
hashCode() |
void |
setArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
|
void |
setDescription(String description)
A description that makes the build project easy to identify.
|
void |
setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
void |
setEnvironment(ProjectEnvironment environment)
Information about the build environment for the build project.
|
void |
setName(String name)
The name of the build project.
|
void |
setServiceRole(String serviceRole)
The 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 about the build input source code for the build project.
|
void |
setTags(Collection<Tag> tags)
A set of tags for this build project.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not
been marked as completed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateProjectRequest |
withArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
|
CreateProjectRequest |
withDescription(String description)
A description that makes the build project easy to identify.
|
CreateProjectRequest |
withEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
CreateProjectRequest |
withEnvironment(ProjectEnvironment environment)
Information about the build environment for the build project.
|
CreateProjectRequest |
withName(String name)
The name of the build project.
|
CreateProjectRequest |
withServiceRole(String serviceRole)
The 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.
|
CreateProjectRequest |
withSource(ProjectSource source)
Information about the build input source code for the build project.
|
CreateProjectRequest |
withTags(Collection<Tag> tags)
A set of tags for this build project.
|
CreateProjectRequest |
withTags(Tag... tags)
A set of tags for this build project.
|
CreateProjectRequest |
withTimeoutInMinutes(Integer timeoutInMinutes)
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not
been 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.
name
- The name of the build project.public String getName()
The name of the build project.
public CreateProjectRequest withName(String name)
The name of the build project.
name
- The name of the build project.public void setDescription(String description)
A description that makes the build project easy to identify.
description
- A description that makes the build project easy to identify.public String getDescription()
A description that makes the build project easy to identify.
public CreateProjectRequest withDescription(String description)
A description that makes the build project easy to identify.
description
- A description that makes the build project easy to identify.public void setSource(ProjectSource source)
Information about the build input source code for the build project.
source
- Information about the build input source code for the build project.public ProjectSource getSource()
Information about the build input source code for the build project.
public CreateProjectRequest withSource(ProjectSource source)
Information about the build input source code for the build project.
source
- Information about the build input source code for the build project.public void setArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
artifacts
- Information about the build output artifacts for the build project.public ProjectArtifacts getArtifacts()
Information about the build output artifacts for the build project.
public CreateProjectRequest withArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
artifacts
- Information about the build output artifacts for the build project.public void setEnvironment(ProjectEnvironment environment)
Information about the build environment for the build project.
environment
- Information about the build environment for the build project.public ProjectEnvironment getEnvironment()
Information about the build environment for the build project.
public CreateProjectRequest withEnvironment(ProjectEnvironment environment)
Information about the build environment for the build project.
environment
- Information about the build environment for the build project.public void setServiceRole(String serviceRole)
The 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 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 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 CreateProjectRequest withServiceRole(String serviceRole)
The 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 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)
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not been marked as completed. The default is 60 minutes.
timeoutInMinutes
- How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that
has not been marked as completed. The default is 60 minutes.public Integer getTimeoutInMinutes()
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not been marked as completed. The default is 60 minutes.
public CreateProjectRequest withTimeoutInMinutes(Integer timeoutInMinutes)
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not been marked as completed. The default is 60 minutes.
timeoutInMinutes
- How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that
has not been marked as completed. The default is 60 minutes.public void setEncryptionKey(String encryptionKey)
The 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 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 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 CreateProjectRequest withEncryptionKey(String encryptionKey)
The 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 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()
A 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)
A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public CreateProjectRequest withTags(Tag... tags)
A 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
- A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public CreateProjectRequest withTags(Collection<Tag> tags)
A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- A 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 CreateProjectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.