Class DescribeRaidArraysRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.DescribeRaidArraysRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeRaidArraysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeRaidArraysRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeRaidArraysRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetInstanceId()The instance ID.List<String>getRaidArrayIds()An array of RAID array IDs.StringgetStackId()The stack ID.inthashCode()voidsetInstanceId(String instanceId)The instance ID.voidsetRaidArrayIds(Collection<String> raidArrayIds)An array of RAID array IDs.voidsetStackId(String stackId)The stack ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeRaidArraysRequestwithInstanceId(String instanceId)The instance ID.DescribeRaidArraysRequestwithRaidArrayIds(String... raidArrayIds)An array of RAID array IDs.DescribeRaidArraysRequestwithRaidArrayIds(Collection<String> raidArrayIds)An array of RAID array IDs.DescribeRaidArraysRequestwithStackId(String stackId)The stack ID.-
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
-
setInstanceId
public void setInstanceId(String instanceId)
The instance ID. If you use this parameter,
DescribeRaidArraysreturns descriptions of the RAID arrays associated with the specified instance.- Parameters:
instanceId- The instance ID. If you use this parameter,DescribeRaidArraysreturns descriptions of the RAID arrays associated with the specified instance.
-
getInstanceId
public String getInstanceId()
The instance ID. If you use this parameter,
DescribeRaidArraysreturns descriptions of the RAID arrays associated with the specified instance.- Returns:
- The instance ID. If you use this parameter,
DescribeRaidArraysreturns descriptions of the RAID arrays associated with the specified instance.
-
withInstanceId
public DescribeRaidArraysRequest withInstanceId(String instanceId)
The instance ID. If you use this parameter,
DescribeRaidArraysreturns descriptions of the RAID arrays associated with the specified instance.- Parameters:
instanceId- The instance ID. If you use this parameter,DescribeRaidArraysreturns descriptions of the RAID arrays associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
public void setStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.
-
getStackId
public String getStackId()
The stack ID.
- Returns:
- The stack ID.
-
withStackId
public DescribeRaidArraysRequest withStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRaidArrayIds
public List<String> getRaidArrayIds()
An array of RAID array IDs. If you use this parameter,
DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.- Returns:
- An array of RAID array IDs. If you use this parameter,
DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.
-
setRaidArrayIds
public void setRaidArrayIds(Collection<String> raidArrayIds)
An array of RAID array IDs. If you use this parameter,
DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.- Parameters:
raidArrayIds- An array of RAID array IDs. If you use this parameter,DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.
-
withRaidArrayIds
public DescribeRaidArraysRequest withRaidArrayIds(String... raidArrayIds)
An array of RAID array IDs. If you use this parameter,
DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.NOTE: This method appends the values to the existing list (if any). Use
setRaidArrayIds(java.util.Collection)orwithRaidArrayIds(java.util.Collection)if you want to override the existing values.- Parameters:
raidArrayIds- An array of RAID array IDs. If you use this parameter,DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRaidArrayIds
public DescribeRaidArraysRequest withRaidArrayIds(Collection<String> raidArrayIds)
An array of RAID array IDs. If you use this parameter,
DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.- Parameters:
raidArrayIds- An array of RAID array IDs. If you use this parameter,DescribeRaidArraysreturns descriptions of the specified arrays. Otherwise, it returns a description of every array.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeRaidArraysRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-