All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ksc.network.vpc.model.Nat.DescribeNatsResult Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksc.network.vpc.model.Nat;

import lombok.ToString;

/**
 * 

* Contains the output of DescribeNats. *

*/ @ToString public class DescribeNatsResult { private String RequestId; /** *

* Information about one or more SecurityGroups. *

*/ private com.ksc.internal.SdkInternalList NatSet; public String getRequestId() { return RequestId; } public void setRequestId(String requestId) { this.RequestId = requestId; } public java.util.List getNatSet() { if (NatSet == null) { NatSet = new com.ksc.internal.SdkInternalList(); } return NatSet; } public void setNatSet(java.util.Collection nats) { if (nats == null) { this.NatSet = null; return; } this.NatSet = new com.ksc.internal.SdkInternalList(nats); } public DescribeNatsResult withNats(Nat... nats) { if (this.NatSet == null) { setNatSet(new com.ksc.internal.SdkInternalList(nats.length)); } for (Nat ele : nats) { this.NatSet.add(ele); } return this; } public DescribeNatsResult withNats(java.util.Collection nats) { setNatSet(nats); return this; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DescribeNatsResult that = (DescribeNatsResult) o; if (!RequestId.equals(that.RequestId)) return false; return NatSet.equals(that.NatSet); } @Override public int hashCode() { int result = RequestId.hashCode(); result = 31 * result + NatSet.hashCode(); return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy