@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 |
getDescription()
An optional description for the project.
|
PlacementTemplate |
getPlacementTemplate()
The schema defining the placement to be created.
|
String |
getProjectName()
The name of the project to create.
|
Map<String,String> |
getTags()
Optional tags (metadata key/value pairs) to be associated with the project.
|
int |
hashCode() |
void |
setDescription(String description)
An optional description for the project.
|
void |
setPlacementTemplate(PlacementTemplate placementTemplate)
The schema defining the placement to be created.
|
void |
setProjectName(String projectName)
The name of the project to create.
|
void |
setTags(Map<String,String> tags)
Optional tags (metadata key/value pairs) to be associated with the project.
|
String |
toString()
Returns a string representation of this object.
|
CreateProjectRequest |
withDescription(String description)
An optional description for the project.
|
CreateProjectRequest |
withPlacementTemplate(PlacementTemplate placementTemplate)
The schema defining the placement to be created.
|
CreateProjectRequest |
withProjectName(String projectName)
The name of the project to create.
|
CreateProjectRequest |
withTags(Map<String,String> tags)
Optional tags (metadata key/value pairs) to be associated with 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, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectName(String projectName)
The name of the project to create.
projectName
- The name of the project to create.public String getProjectName()
The name of the project to create.
public CreateProjectRequest withProjectName(String projectName)
The name of the project to create.
projectName
- The name of the project to create.public void setDescription(String description)
An optional description for the project.
description
- An optional description for the project.public String getDescription()
An optional description for the project.
public CreateProjectRequest withDescription(String description)
An optional description for the project.
description
- An optional description for the project.public void setPlacementTemplate(PlacementTemplate placementTemplate)
The schema defining the placement to be created. A placement template defines placement default attributes and
device templates. You cannot add or remove device templates after the project has been created. However, you can
update callbackOverrides
for the device templates using the UpdateProject
API.
placementTemplate
- The schema defining the placement to be created. A placement template defines placement default attributes
and device templates. You cannot add or remove device templates after the project has been created.
However, you can update callbackOverrides
for the device templates using the
UpdateProject
API.public PlacementTemplate getPlacementTemplate()
The schema defining the placement to be created. A placement template defines placement default attributes and
device templates. You cannot add or remove device templates after the project has been created. However, you can
update callbackOverrides
for the device templates using the UpdateProject
API.
callbackOverrides
for the device templates using the
UpdateProject
API.public CreateProjectRequest withPlacementTemplate(PlacementTemplate placementTemplate)
The schema defining the placement to be created. A placement template defines placement default attributes and
device templates. You cannot add or remove device templates after the project has been created. However, you can
update callbackOverrides
for the device templates using the UpdateProject
API.
placementTemplate
- The schema defining the placement to be created. A placement template defines placement default attributes
and device templates. You cannot add or remove device templates after the project has been created.
However, you can update callbackOverrides
for the device templates using the
UpdateProject
API.public Map<String,String> getTags()
Optional tags (metadata key/value pairs) to be associated with the project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more information, see AWS Tagging Strategies.
{ {"key1": "value1", "key2": "value2"} }
. For more information, see AWS Tagging
Strategies.public void setTags(Map<String,String> tags)
Optional tags (metadata key/value pairs) to be associated with the project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more information, see AWS Tagging Strategies.
tags
- Optional tags (metadata key/value pairs) to be associated with the project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more information, see AWS Tagging
Strategies.public CreateProjectRequest withTags(Map<String,String> tags)
Optional tags (metadata key/value pairs) to be associated with the project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more information, see AWS Tagging Strategies.
tags
- Optional tags (metadata key/value pairs) to be associated with the project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more information, see AWS Tagging
Strategies.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()