Class GetConfigRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudhsm.model.GetConfigRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetConfigRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetConfigRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getClientArn()
The ARN of the client.String
getClientVersion()
The client version.List<String>
getHapgList()
A list of ARNs that identify the high-availability partition groups that are associated with the client.int
hashCode()
void
setClientArn(String clientArn)
The ARN of the client.void
setClientVersion(ClientVersion clientVersion)
The client version.void
setClientVersion(String clientVersion)
The client version.void
setHapgList(Collection<String> hapgList)
A list of ARNs that identify the high-availability partition groups that are associated with the client.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetConfigRequest
withClientArn(String clientArn)
The ARN of the client.GetConfigRequest
withClientVersion(ClientVersion clientVersion)
The client version.GetConfigRequest
withClientVersion(String clientVersion)
The client version.GetConfigRequest
withHapgList(String... hapgList)
A list of ARNs that identify the high-availability partition groups that are associated with the client.GetConfigRequest
withHapgList(Collection<String> hapgList)
A list of ARNs that identify the high-availability partition groups that are associated with the client.-
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
-
setClientArn
public void setClientArn(String clientArn)
The ARN of the client.
- Parameters:
clientArn
- The ARN of the client.
-
getClientArn
public String getClientArn()
The ARN of the client.
- Returns:
- The ARN of the client.
-
withClientArn
public GetConfigRequest withClientArn(String clientArn)
The ARN of the client.
- Parameters:
clientArn
- The ARN of the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientVersion
public void setClientVersion(String clientVersion)
The client version.
- Parameters:
clientVersion
- The client version.- See Also:
ClientVersion
-
getClientVersion
public String getClientVersion()
The client version.
- Returns:
- The client version.
- See Also:
ClientVersion
-
withClientVersion
public GetConfigRequest withClientVersion(String clientVersion)
The client version.
- Parameters:
clientVersion
- The client version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClientVersion
-
setClientVersion
public void setClientVersion(ClientVersion clientVersion)
The client version.
- Parameters:
clientVersion
- The client version.- See Also:
ClientVersion
-
withClientVersion
public GetConfigRequest withClientVersion(ClientVersion clientVersion)
The client version.
- Parameters:
clientVersion
- The client version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClientVersion
-
getHapgList
public List<String> getHapgList()
A list of ARNs that identify the high-availability partition groups that are associated with the client.
- Returns:
- A list of ARNs that identify the high-availability partition groups that are associated with the client.
-
setHapgList
public void setHapgList(Collection<String> hapgList)
A list of ARNs that identify the high-availability partition groups that are associated with the client.
- Parameters:
hapgList
- A list of ARNs that identify the high-availability partition groups that are associated with the client.
-
withHapgList
public GetConfigRequest withHapgList(String... hapgList)
A list of ARNs that identify the high-availability partition groups that are associated with the client.
NOTE: This method appends the values to the existing list (if any). Use
setHapgList(java.util.Collection)
orwithHapgList(java.util.Collection)
if you want to override the existing values.- Parameters:
hapgList
- A list of ARNs that identify the high-availability partition groups that are associated with the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHapgList
public GetConfigRequest withHapgList(Collection<String> hapgList)
A list of ARNs that identify the high-availability partition groups that are associated with the client.
- Parameters:
hapgList
- A list of ARNs that identify the high-availability partition groups that are associated with the client.- 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 GetConfigRequest 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()
-
-