@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlacementGroupConfig extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
PlacementGroupConfig() |
| Modifier and Type | Method and Description |
|---|---|
PlacementGroupConfig |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceRole() |
String |
getPlacementStrategy() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInstanceRole(String instanceRole) |
void |
setPlacementStrategy(String placementStrategy) |
String |
toString()
Returns a string representation of this object.
|
PlacementGroupConfig |
withInstanceRole(InstanceRoleType instanceRole) |
PlacementGroupConfig |
withInstanceRole(String instanceRole) |
PlacementGroupConfig |
withPlacementStrategy(PlacementGroupStrategy placementStrategy) |
PlacementGroupConfig |
withPlacementStrategy(String placementStrategy) |
public void setInstanceRole(String instanceRole)
instanceRole - InstanceRoleTypepublic String getInstanceRole()
InstanceRoleTypepublic PlacementGroupConfig withInstanceRole(String instanceRole)
instanceRole - InstanceRoleTypepublic PlacementGroupConfig withInstanceRole(InstanceRoleType instanceRole)
instanceRole - InstanceRoleTypepublic void setPlacementStrategy(String placementStrategy)
placementStrategy - PlacementGroupStrategypublic String getPlacementStrategy()
PlacementGroupStrategypublic PlacementGroupConfig withPlacementStrategy(String placementStrategy)
placementStrategy - PlacementGroupStrategypublic PlacementGroupConfig withPlacementStrategy(PlacementGroupStrategy placementStrategy)
placementStrategy - PlacementGroupStrategypublic String toString()
toString in class ObjectObject.toString()public PlacementGroupConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.