@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutCapacityAssignmentConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutCapacityAssignmentConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
PutCapacityAssignmentConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CapacityAssignment> |
getCapacityAssignments()
The list of assignments for the capacity assignment configuration.
|
String |
getCapacityReservationName()
The name of the capacity reservation to put a capacity assignment configuration for.
|
int |
hashCode() |
void |
setCapacityAssignments(Collection<CapacityAssignment> capacityAssignments)
The list of assignments for the capacity assignment configuration.
|
void |
setCapacityReservationName(String capacityReservationName)
The name of the capacity reservation to put a capacity assignment configuration for.
|
String |
toString()
Returns a string representation of this object.
|
PutCapacityAssignmentConfigurationRequest |
withCapacityAssignments(CapacityAssignment... capacityAssignments)
The list of assignments for the capacity assignment configuration.
|
PutCapacityAssignmentConfigurationRequest |
withCapacityAssignments(Collection<CapacityAssignment> capacityAssignments)
The list of assignments for the capacity assignment configuration.
|
PutCapacityAssignmentConfigurationRequest |
withCapacityReservationName(String capacityReservationName)
The name of the capacity reservation to put a capacity assignment configuration for.
|
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 PutCapacityAssignmentConfigurationRequest()
public void setCapacityReservationName(String capacityReservationName)
The name of the capacity reservation to put a capacity assignment configuration for.
capacityReservationName
- The name of the capacity reservation to put a capacity assignment configuration for.public String getCapacityReservationName()
The name of the capacity reservation to put a capacity assignment configuration for.
public PutCapacityAssignmentConfigurationRequest withCapacityReservationName(String capacityReservationName)
The name of the capacity reservation to put a capacity assignment configuration for.
capacityReservationName
- The name of the capacity reservation to put a capacity assignment configuration for.public List<CapacityAssignment> getCapacityAssignments()
The list of assignments for the capacity assignment configuration.
public void setCapacityAssignments(Collection<CapacityAssignment> capacityAssignments)
The list of assignments for the capacity assignment configuration.
capacityAssignments
- The list of assignments for the capacity assignment configuration.public PutCapacityAssignmentConfigurationRequest withCapacityAssignments(CapacityAssignment... capacityAssignments)
The list of assignments for the capacity assignment configuration.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityAssignments(java.util.Collection)
or withCapacityAssignments(java.util.Collection)
if you want to override the existing values.
capacityAssignments
- The list of assignments for the capacity assignment configuration.public PutCapacityAssignmentConfigurationRequest withCapacityAssignments(Collection<CapacityAssignment> capacityAssignments)
The list of assignments for the capacity assignment configuration.
capacityAssignments
- The list of assignments for the capacity assignment configuration.public String toString()
toString
in class Object
Object.toString()
public PutCapacityAssignmentConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()