@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMountTargetSecurityGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeMountTargetSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeMountTargetSecurityGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroups()
An array of security groups.
|
int |
hashCode() |
void |
setSecurityGroups(Collection<String> securityGroups)
An array of security groups.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMountTargetSecurityGroupsResult |
withSecurityGroups(Collection<String> securityGroups)
An array of security groups.
|
DescribeMountTargetSecurityGroupsResult |
withSecurityGroups(String... securityGroups)
An array of security groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeMountTargetSecurityGroupsResult()
public List<String> getSecurityGroups()
An array of security groups.
public void setSecurityGroups(Collection<String> securityGroups)
An array of security groups.
securityGroups
- An array of security groups.public DescribeMountTargetSecurityGroupsResult withSecurityGroups(String... securityGroups)
An array of security groups.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- An array of security groups.public DescribeMountTargetSecurityGroupsResult withSecurityGroups(Collection<String> securityGroups)
An array of security groups.
securityGroups
- An array of security groups.public String toString()
toString
in class Object
Object.toString()
public DescribeMountTargetSecurityGroupsResult clone()