public class DescribeVpcEndpointsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpcEndpoints.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
private SdkInternalList<VpcEndpoint> |
vpcEndpoints
Information about the endpoints.
|
Constructor and Description |
---|
DescribeVpcEndpointsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcEndpointsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
java.util.List<VpcEndpoint> |
getVpcEndpoints()
Information about the endpoints.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
void |
setVpcEndpoints(java.util.Collection<VpcEndpoint> vpcEndpoints)
Information about the endpoints.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcEndpointsResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
DescribeVpcEndpointsResult |
withVpcEndpoints(java.util.Collection<VpcEndpoint> vpcEndpoints)
Information about the endpoints.
|
DescribeVpcEndpointsResult |
withVpcEndpoints(VpcEndpoint... vpcEndpoints)
Information about the endpoints.
|
private SdkInternalList<VpcEndpoint> vpcEndpoints
Information about the endpoints.
private java.lang.String nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public java.util.List<VpcEndpoint> getVpcEndpoints()
Information about the endpoints.
public void setVpcEndpoints(java.util.Collection<VpcEndpoint> vpcEndpoints)
Information about the endpoints.
vpcEndpoints
- Information about the endpoints.public DescribeVpcEndpointsResult withVpcEndpoints(VpcEndpoint... vpcEndpoints)
Information about the endpoints.
NOTE: This method appends the values to the existing list (if
any). Use setVpcEndpoints(java.util.Collection)
or
withVpcEndpoints(java.util.Collection)
if you want to override
the existing values.
vpcEndpoints
- Information about the endpoints.public DescribeVpcEndpointsResult withVpcEndpoints(java.util.Collection<VpcEndpoint> vpcEndpoints)
Information about the endpoints.
vpcEndpoints
- Information about the endpoints.public void setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public java.lang.String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeVpcEndpointsResult withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVpcEndpointsResult clone()
clone
in class java.lang.Object