Package com.amazonaws.services.ec2.model
Class DescribeSecurityGroupReferencesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeSecurityGroupReferencesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeSecurityGroupReferencesRequest>
,Serializable
,Cloneable
public class DescribeSecurityGroupReferencesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSecurityGroupReferencesRequest>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeSecurityGroupReferencesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSecurityGroupReferencesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<DescribeSecurityGroupReferencesRequest>
getDryRunRequest()
This method is intended for internal use only.List<String>
getGroupId()
One or more security group IDs in your account.int
hashCode()
void
setGroupId(Collection<String> groupId)
One or more security group IDs in your account.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeSecurityGroupReferencesRequest
withGroupId(String... groupId)
One or more security group IDs in your account.DescribeSecurityGroupReferencesRequest
withGroupId(Collection<String> groupId)
One or more security group IDs in your account.-
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
-
getGroupId
public List<String> getGroupId()
One or more security group IDs in your account.
- Returns:
- One or more security group IDs in your account.
-
setGroupId
public void setGroupId(Collection<String> groupId)
One or more security group IDs in your account.
- Parameters:
groupId
- One or more security group IDs in your account.
-
withGroupId
public DescribeSecurityGroupReferencesRequest withGroupId(String... groupId)
One or more security group IDs in your account.
NOTE: This method appends the values to the existing list (if any). Use
setGroupId(java.util.Collection)
orwithGroupId(java.util.Collection)
if you want to override the existing values.- Parameters:
groupId
- One or more security group IDs in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGroupId
public DescribeSecurityGroupReferencesRequest withGroupId(Collection<String> groupId)
One or more security group IDs in your account.
- Parameters:
groupId
- One or more security group IDs in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<DescribeSecurityGroupReferencesRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeSecurityGroupReferencesRequest>
-
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 DescribeSecurityGroupReferencesRequest 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()
-
-