@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) |
String |
getClientRequestToken()
A user- or system-generated token that identifies the entity that requested project creation.
|
String |
getDescription()
Optional.
|
String |
getId()
The ID for the AWS CodeStar project.
|
String |
getName()
The friendly name for the project.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation.
|
void |
setDescription(String description)
Optional.
|
void |
setId(String id)
The ID for the AWS CodeStar project.
|
void |
setName(String name)
The friendly name for the project.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateProjectRequest |
withClientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation.
|
CreateProjectRequest |
withDescription(String description)
Optional.
|
CreateProjectRequest |
withId(String id)
The ID for the AWS CodeStar project.
|
CreateProjectRequest |
withName(String name)
The friendly name for the project.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, 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 friendly name for the project. This friendly name serves as the basis for the names for resources associated with the project, such as a repository name in AWS CodeCommit. The name is limited to 100 characters and cannot contain certain restricted symbols. For more information, see Limits in the AWS CodeStar User Guide.
name
- The friendly name for the project. This friendly name serves as the basis for the names for resources
associated with the project, such as a repository name in AWS CodeCommit. The name is limited to 100
characters and cannot contain certain restricted symbols. For more information, see Limits in the AWS CodeStar
User Guide.public String getName()
The friendly name for the project. This friendly name serves as the basis for the names for resources associated with the project, such as a repository name in AWS CodeCommit. The name is limited to 100 characters and cannot contain certain restricted symbols. For more information, see Limits in the AWS CodeStar User Guide.
public CreateProjectRequest withName(String name)
The friendly name for the project. This friendly name serves as the basis for the names for resources associated with the project, such as a repository name in AWS CodeCommit. The name is limited to 100 characters and cannot contain certain restricted symbols. For more information, see Limits in the AWS CodeStar User Guide.
name
- The friendly name for the project. This friendly name serves as the basis for the names for resources
associated with the project, such as a repository name in AWS CodeCommit. The name is limited to 100
characters and cannot contain certain restricted symbols. For more information, see Limits in the AWS CodeStar
User Guide.public void setId(String id)
The ID for the AWS CodeStar project. Project IDs must be unique within an AWS account. Project IDs cannot exceed 15 characters and cannot contain capital letters and other restricted symbols. For more information, see Limits in the AWS CodeStar User Guide.
id
- The ID for the AWS CodeStar project. Project IDs must be unique within an AWS account. Project IDs cannot
exceed 15 characters and cannot contain capital letters and other restricted symbols. For more
information, see Limits in
the AWS CodeStar User Guide.public String getId()
The ID for the AWS CodeStar project. Project IDs must be unique within an AWS account. Project IDs cannot exceed 15 characters and cannot contain capital letters and other restricted symbols. For more information, see Limits in the AWS CodeStar User Guide.
public CreateProjectRequest withId(String id)
The ID for the AWS CodeStar project. Project IDs must be unique within an AWS account. Project IDs cannot exceed 15 characters and cannot contain capital letters and other restricted symbols. For more information, see Limits in the AWS CodeStar User Guide.
id
- The ID for the AWS CodeStar project. Project IDs must be unique within an AWS account. Project IDs cannot
exceed 15 characters and cannot contain capital letters and other restricted symbols. For more
information, see Limits in
the AWS CodeStar User Guide.public void setDescription(String description)
Optional. The description for the project.
description
- Optional. The description for the project.public String getDescription()
Optional. The description for the project.
public CreateProjectRequest withDescription(String description)
Optional. The description for the project.
description
- Optional. The description for the project.public void setClientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request. It can also be used to identify which user or system made the request in DescribeProject and ListProjects.
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation. This token
can be used to repeat the request. It can also be used to identify which user or system made the request
in DescribeProject and ListProjects.public String getClientRequestToken()
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request. It can also be used to identify which user or system made the request in DescribeProject and ListProjects.
public CreateProjectRequest withClientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request. It can also be used to identify which user or system made the request in DescribeProject and ListProjects.
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation. This token
can be used to repeat the request. It can also be used to identify which user or system made the request
in DescribeProject and ListProjects.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.