@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePlacementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePlacementRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePlacementRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
CreatePlacementRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
CreatePlacementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
|
String |
getPlacementName()
The name of the placement to be created.
|
String |
getProjectName()
The name of the project in which to create the placement.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
|
void |
setPlacementName(String placementName)
The name of the placement to be created.
|
void |
setProjectName(String projectName)
The name of the project in which to create the placement.
|
String |
toString()
Returns a string representation of this object.
|
CreatePlacementRequest |
withAttributes(Map<String,String> attributes)
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
|
CreatePlacementRequest |
withPlacementName(String placementName)
The name of the placement to be created.
|
CreatePlacementRequest |
withProjectName(String projectName)
The name of the project in which to create the placement.
|
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 setPlacementName(String placementName)
The name of the placement to be created.
placementName
- The name of the placement to be created.public String getPlacementName()
The name of the placement to be created.
public CreatePlacementRequest withPlacementName(String placementName)
The name of the placement to be created.
placementName
- The name of the placement to be created.public void setProjectName(String projectName)
The name of the project in which to create the placement.
projectName
- The name of the project in which to create the placement.public String getProjectName()
The name of the project in which to create the placement.
public CreatePlacementRequest withProjectName(String projectName)
The name of the project in which to create the placement.
projectName
- The name of the project in which to create the placement.public Map<String,String> getAttributes()
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
public void setAttributes(Map<String,String> attributes)
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
attributes
- Optional user-defined key/value pairs providing contextual data (such as location or function) for the
placement.public CreatePlacementRequest withAttributes(Map<String,String> attributes)
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
attributes
- Optional user-defined key/value pairs providing contextual data (such as location or function) for the
placement.public CreatePlacementRequest addAttributesEntry(String key, String value)
public CreatePlacementRequest clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePlacementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()