Class ModifyHapgRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudhsm.model.ModifyHapgRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyHapgRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyHapgRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyHapgRequest
clone()
Creates a shallow clone of this request.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; useful for testing and debugging.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(String... partitionSerialList)
The list of partition serial numbers to make members of 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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setHapgArn
public void setHapgArn(String hapgArn)
The ARN of the high-availability partition group to modify.
- Parameters:
hapgArn
- The ARN of the high-availability partition group to modify.
-
getHapgArn
public String getHapgArn()
The ARN of the high-availability partition group to modify.
- Returns:
- The ARN of the high-availability partition group to modify.
-
withHapgArn
public ModifyHapgRequest withHapgArn(String hapgArn)
The ARN of the high-availability partition group to modify.
- Parameters:
hapgArn
- The ARN of the high-availability partition group to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLabel
public void setLabel(String label)
The new label for the high-availability partition group.
- Parameters:
label
- The new label for the high-availability partition group.
-
getLabel
public String getLabel()
The new label for the high-availability partition group.
- Returns:
- The new label for the high-availability partition group.
-
withLabel
public ModifyHapgRequest withLabel(String label)
The new label for the high-availability partition group.
- Parameters:
label
- The new label for the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPartitionSerialList
public List<String> getPartitionSerialList()
The list of partition serial numbers to make members of the high-availability partition group.
- Returns:
- The list of partition serial numbers to make members of the high-availability partition group.
-
setPartitionSerialList
public void setPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
- Parameters:
partitionSerialList
- The list of partition serial numbers to make members of the high-availability partition group.
-
withPartitionSerialList
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)
orwithPartitionSerialList(java.util.Collection)
if you want to override the existing values.- Parameters:
partitionSerialList
- The list of partition serial numbers to make members of the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPartitionSerialList
public ModifyHapgRequest withPartitionSerialList(Collection<String> partitionSerialList)
The list of partition serial numbers to make members of the high-availability partition group.
- Parameters:
partitionSerialList
- The list of partition serial numbers to make members of the high-availability partition group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyHapgRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-