@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyHapgRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyHapgRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyHapgRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHapgArn()
The ARN of the high-availability partition group to modify.
|
String |
getLabel()
The new label for the high-availability partition group.
|
List<String> |
getPartitionSerialList()
The list of partition serial numbers to make members of the high-availability partition group.
|
int |
hashCode() |
void |
setHapgArn(String hapgArn)
The ARN of the high-availability partition group to modify.
|
void |
setLabel(String label)
The new label for the high-availability partition group.
|
void |
setPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
|
String |
toString()
Returns a string representation of this object.
|
ModifyHapgRequest |
withHapgArn(String hapgArn)
The ARN of the high-availability partition group to modify.
|
ModifyHapgRequest |
withLabel(String label)
The new label for the high-availability partition group.
|
ModifyHapgRequest |
withPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
|
ModifyHapgRequest |
withPartitionSerialList(String... partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
|
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 setHapgArn(String hapgArn)
The ARN of the high-availability partition group to modify.
hapgArn
- The ARN of the high-availability partition group to modify.public String getHapgArn()
The ARN of the high-availability partition group to modify.
public ModifyHapgRequest withHapgArn(String hapgArn)
The ARN of the high-availability partition group to modify.
hapgArn
- The ARN of the high-availability partition group to modify.public void setLabel(String label)
The new label for the high-availability partition group.
label
- The new label for the high-availability partition group.public String getLabel()
The new label for the high-availability partition group.
public ModifyHapgRequest withLabel(String label)
The new label for the high-availability partition group.
label
- The new label for the high-availability partition group.public List<String> getPartitionSerialList()
The list of partition serial numbers to make members of the high-availability partition group.
public void setPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
partitionSerialList
- The list of partition serial numbers to make members of the high-availability partition group.public ModifyHapgRequest withPartitionSerialList(String... partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionSerialList(java.util.Collection)
or withPartitionSerialList(java.util.Collection)
if you want to override the existing values.
partitionSerialList
- The list of partition serial numbers to make members of the high-availability partition group.public ModifyHapgRequest withPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
partitionSerialList
- The list of partition serial numbers to make members of the high-availability partition group.public String toString()
toString
in class Object
Object.toString()
public ModifyHapgRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()