com.ksc.network.vpc.model.SecurityGroups.DescribeSecurityGroupsResult Maven / Gradle / Ivy
package com.ksc.network.vpc.model.SecurityGroups;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
* Contains the output of DescribeSecurityGroups.
*
*/
@ToString
@EqualsAndHashCode
public class DescribeSecurityGroupsResult {
private String RequestId;
/**
*
* Information about one or more SecurityGroups.
*
*/
private com.ksc.internal.SdkInternalList SecurityGroupSet;
public String getRequestId() {
return RequestId;
}
public void setRequestId(String requestId) {
this.RequestId = requestId;
}
/**
*
* Information about one or more SecurityGroups.
*
*
* @return Information about one or more SecurityGroups.
*/
public java.util.List getSecurityGroupSet() {
if (SecurityGroupSet == null) {
SecurityGroupSet = new com.ksc.internal.SdkInternalList();
}
return SecurityGroupSet;
}
public void setSecurityGroupSet(java.util.Collection securityGroups) {
if (securityGroups == null) {
this.SecurityGroupSet = null;
return;
}
this.SecurityGroupSet = new com.ksc.internal.SdkInternalList(securityGroups);
}
public DescribeSecurityGroupsResult withSecurityGroups(SecurityGroup... securityGroups) {
if (this.SecurityGroupSet == null) {
setSecurityGroupSet(new com.ksc.internal.SdkInternalList(securityGroups.length));
}
for (SecurityGroup ele : securityGroups) {
this.SecurityGroupSet.add(ele);
}
return this;
}
public DescribeSecurityGroupsResult withSecurityGroups(java.util.Collection securityGroups) {
setSecurityGroupSet(securityGroups);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy