@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlacementTemplate extends Object implements Serializable, Cloneable, StructuredPojo
An object defining the template for a placement.
Constructor and Description |
---|
PlacementTemplate() |
Modifier and Type | Method and Description |
---|---|
PlacementTemplate |
addDefaultAttributesEntry(String key,
String value)
Add a single DefaultAttributes entry
|
PlacementTemplate |
addDeviceTemplatesEntry(String key,
DeviceTemplate value)
Add a single DeviceTemplates entry
|
PlacementTemplate |
clearDefaultAttributesEntries()
Removes all the entries added into DefaultAttributes.
|
PlacementTemplate |
clearDeviceTemplatesEntries()
Removes all the entries added into DeviceTemplates.
|
PlacementTemplate |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getDefaultAttributes()
The default attributes (key/value pairs) to be applied to all placements using this template.
|
Map<String,DeviceTemplate> |
getDeviceTemplates()
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultAttributes(Map<String,String> defaultAttributes)
The default attributes (key/value pairs) to be applied to all placements using this template.
|
void |
setDeviceTemplates(Map<String,DeviceTemplate> deviceTemplates)
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
|
String |
toString()
Returns a string representation of this object.
|
PlacementTemplate |
withDefaultAttributes(Map<String,String> defaultAttributes)
The default attributes (key/value pairs) to be applied to all placements using this template.
|
PlacementTemplate |
withDeviceTemplates(Map<String,DeviceTemplate> deviceTemplates)
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
|
public Map<String,String> getDefaultAttributes()
The default attributes (key/value pairs) to be applied to all placements using this template.
public void setDefaultAttributes(Map<String,String> defaultAttributes)
The default attributes (key/value pairs) to be applied to all placements using this template.
defaultAttributes
- The default attributes (key/value pairs) to be applied to all placements using this template.public PlacementTemplate withDefaultAttributes(Map<String,String> defaultAttributes)
The default attributes (key/value pairs) to be applied to all placements using this template.
defaultAttributes
- The default attributes (key/value pairs) to be applied to all placements using this template.public PlacementTemplate addDefaultAttributesEntry(String key, String value)
public PlacementTemplate clearDefaultAttributesEntries()
public Map<String,DeviceTemplate> getDeviceTemplates()
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
public void setDeviceTemplates(Map<String,DeviceTemplate> deviceTemplates)
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
deviceTemplates
- An object specifying the DeviceTemplate for all placements using this (PlacementTemplate)
template.public PlacementTemplate withDeviceTemplates(Map<String,DeviceTemplate> deviceTemplates)
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
deviceTemplates
- An object specifying the DeviceTemplate for all placements using this (PlacementTemplate)
template.public PlacementTemplate addDeviceTemplatesEntry(String key, DeviceTemplate value)
public PlacementTemplate clearDeviceTemplatesEntries()
public String toString()
toString
in class Object
Object.toString()
public PlacementTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.