@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateProjectRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
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()
The description of the project, if any.
|
String |
getId()
The ID of the project to be created in AWS CodeStar.
|
String |
getName()
The display name for the project to be created in AWS CodeStar.
|
List<Code> |
getSourceCode()
A list of the Code objects submitted with the project request.
|
Map<String,String> |
getTags()
The tags created for the project.
|
Toolchain |
getToolchain()
The name of the toolchain template file submitted with the project request.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation.
|
void |
setDescription(String description)
The description of the project, if any.
|
void |
setId(String id)
The ID of the project to be created in AWS CodeStar.
|
void |
setName(String name)
The display name for the project to be created in AWS CodeStar.
|
void |
setSourceCode(Collection<Code> sourceCode)
A list of the Code objects submitted with the project request.
|
void |
setTags(Map<String,String> tags)
The tags created for the project.
|
void |
setToolchain(Toolchain toolchain)
The name of the toolchain template file submitted with the project request.
|
String |
toString()
Returns a string representation of this object.
|
CreateProjectRequest |
withClientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation.
|
CreateProjectRequest |
withDescription(String description)
The description of the project, if any.
|
CreateProjectRequest |
withId(String id)
The ID of the project to be created in AWS CodeStar.
|
CreateProjectRequest |
withName(String name)
The display name for the project to be created in AWS CodeStar.
|
CreateProjectRequest |
withSourceCode(Code... sourceCode)
A list of the Code objects submitted with the project request.
|
CreateProjectRequest |
withSourceCode(Collection<Code> sourceCode)
A list of the Code objects submitted with the project request.
|
CreateProjectRequest |
withTags(Map<String,String> tags)
The tags created for the project.
|
CreateProjectRequest |
withToolchain(Toolchain toolchain)
The name of the toolchain template file submitted with the project request.
|
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 display name for the project to be created in AWS CodeStar.
name
- The display name for the project to be created in AWS CodeStar.public String getName()
The display name for the project to be created in AWS CodeStar.
public CreateProjectRequest withName(String name)
The display name for the project to be created in AWS CodeStar.
name
- The display name for the project to be created in AWS CodeStar.public void setId(String id)
The ID of the project to be created in AWS CodeStar.
id
- The ID of the project to be created in AWS CodeStar.public String getId()
The ID of the project to be created in AWS CodeStar.
public CreateProjectRequest withId(String id)
The ID of the project to be created in AWS CodeStar.
id
- The ID of the project to be created in AWS CodeStar.public void setDescription(String description)
The description of the project, if any.
description
- The description of the project, if any.public String getDescription()
The description of the project, if any.
public CreateProjectRequest withDescription(String description)
The description of the project, if any.
description
- The description of the project, if any.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.
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation. This token
can be used to repeat the request.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.
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.
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation. This token
can be used to repeat the request.public List<Code> getSourceCode()
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
public void setSourceCode(Collection<Code> sourceCode)
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
sourceCode
- A list of the Code objects submitted with the project request. If this parameter is specified, the request
must also include the toolchain parameter.public CreateProjectRequest withSourceCode(Code... sourceCode)
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
NOTE: This method appends the values to the existing list (if any). Use
setSourceCode(java.util.Collection)
or withSourceCode(java.util.Collection)
if you want to
override the existing values.
sourceCode
- A list of the Code objects submitted with the project request. If this parameter is specified, the request
must also include the toolchain parameter.public CreateProjectRequest withSourceCode(Collection<Code> sourceCode)
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
sourceCode
- A list of the Code objects submitted with the project request. If this parameter is specified, the request
must also include the toolchain parameter.public void setToolchain(Toolchain toolchain)
The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.
toolchain
- The name of the toolchain template file submitted with the project request. If this parameter is
specified, the request must also include the sourceCode parameter.public Toolchain getToolchain()
The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.
public CreateProjectRequest withToolchain(Toolchain toolchain)
The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.
toolchain
- The name of the toolchain template file submitted with the project request. If this parameter is
specified, the request must also include the sourceCode parameter.public Map<String,String> getTags()
The tags created for the project.
public void setTags(Map<String,String> tags)
The tags created for the project.
tags
- The tags created for the project.public CreateProjectRequest withTags(Map<String,String> tags)
The tags created for the project.
tags
- The tags created for the project.public CreateProjectRequest addTagsEntry(String key, String value)
public CreateProjectRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateProjectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()