com.ksc.network.vpc.model.subnet.DescribeSubnetsResult Maven / Gradle / Ivy
package com.ksc.network.vpc.model.subnet;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
* Contains the output of DescribeSubnets.
*
*/
@ToString
@EqualsAndHashCode
public class DescribeSubnetsResult {
private String RequestId;
/**
*
* Information about one or more Subnets.
*
*/
private com.ksc.internal.SdkInternalList SubnetSet;
public String getRequestId() {
return RequestId;
}
public void setRequestId(String requestId) {
this.RequestId = requestId;
}
/**
*
* Information about one or more Subnets.
*
*
* @return Information about one or more Subnets.
*/
public java.util.List getSubnetSet() {
if (SubnetSet == null) {
SubnetSet = new com.ksc.internal.SdkInternalList();
}
return SubnetSet;
}
public void setSubnetSet(java.util.Collection subnets) {
if (subnets == null) {
this.SubnetSet = null;
return;
}
this.SubnetSet = new com.ksc.internal.SdkInternalList(subnets);
}
public DescribeSubnetsResult withSubnets(Subnet... subnets) {
if (this.SubnetSet == null) {
setSubnetSet(new com.ksc.internal.SdkInternalList(subnets.length));
}
for (Subnet ele : subnets) {
this.SubnetSet.add(ele);
}
return this;
}
public DescribeSubnetsResult withSubnets(java.util.Collection subnets) {
setSubnetSet(subnets);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy