public class ModifyHapgRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hapgArn
The ARN of the high-availability partition group to modify.
|
private java.lang.String |
label
The new label for the high-availability partition group.
|
private SdkInternalList<java.lang.String> |
partitionSerialList
The list of partition serial numbers to make members of the
high-availability partition group.
|
NOOP
Constructor and Description |
---|
ModifyHapgRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyHapgRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHapgArn()
The ARN of the high-availability partition group to modify.
|
java.lang.String |
getLabel()
The new label for the high-availability partition group.
|
java.util.List<java.lang.String> |
getPartitionSerialList()
The list of partition serial numbers to make members of the
high-availability partition group.
|
int |
hashCode() |
void |
setHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group to modify.
|
void |
setLabel(java.lang.String label)
The new label for the high-availability partition group.
|
void |
setPartitionSerialList(java.util.Collection<java.lang.String> partitionSerialList)
The list of partition serial numbers to make members of the
high-availability partition group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyHapgRequest |
withHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group to modify.
|
ModifyHapgRequest |
withLabel(java.lang.String label)
The new label for the high-availability partition group.
|
ModifyHapgRequest |
withPartitionSerialList(java.util.Collection<java.lang.String> partitionSerialList)
The list of partition serial numbers to make members of the
high-availability partition group.
|
ModifyHapgRequest |
withPartitionSerialList(java.lang.String... partitionSerialList)
The list of partition serial numbers to make members of the
high-availability partition group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String hapgArn
The ARN of the high-availability partition group to modify.
private java.lang.String label
The new label for the high-availability partition group.
private SdkInternalList<java.lang.String> partitionSerialList
The list of partition serial numbers to make members of the high-availability partition group.
public void setHapgArn(java.lang.String hapgArn)
The ARN of the high-availability partition group to modify.
hapgArn
- The ARN of the high-availability partition group to modify.public java.lang.String getHapgArn()
The ARN of the high-availability partition group to modify.
public ModifyHapgRequest withHapgArn(java.lang.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(java.lang.String label)
The new label for the high-availability partition group.
label
- The new label for the high-availability partition group.public java.lang.String getLabel()
The new label for the high-availability partition group.
public ModifyHapgRequest withLabel(java.lang.String label)
The new label for the high-availability partition group.
label
- The new label for the high-availability partition group.public java.util.List<java.lang.String> getPartitionSerialList()
The list of partition serial numbers to make members of the high-availability partition group.
public void setPartitionSerialList(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyHapgRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()