public class DescribeVpcEndpointServicesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpcEndpointServices.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
private SdkInternalList<java.lang.String> |
serviceNames
A list of supported AWS services.
|
Constructor and Description |
---|
DescribeVpcEndpointServicesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcEndpointServicesResult |
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<java.lang.String> |
getServiceNames()
A list of supported AWS services.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
void |
setServiceNames(java.util.Collection<java.lang.String> serviceNames)
A list of supported AWS services.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcEndpointServicesResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
DescribeVpcEndpointServicesResult |
withServiceNames(java.util.Collection<java.lang.String> serviceNames)
A list of supported AWS services.
|
DescribeVpcEndpointServicesResult |
withServiceNames(java.lang.String... serviceNames)
A list of supported AWS services.
|
private SdkInternalList<java.lang.String> serviceNames
A list of supported AWS services.
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<java.lang.String> getServiceNames()
A list of supported AWS services.
public void setServiceNames(java.util.Collection<java.lang.String> serviceNames)
A list of supported AWS services.
serviceNames
- A list of supported AWS services.public DescribeVpcEndpointServicesResult withServiceNames(java.lang.String... serviceNames)
A list of supported AWS services.
NOTE: This method appends the values to the existing list (if
any). Use setServiceNames(java.util.Collection)
or
withServiceNames(java.util.Collection)
if you want to override
the existing values.
serviceNames
- A list of supported AWS services.public DescribeVpcEndpointServicesResult withServiceNames(java.util.Collection<java.lang.String> serviceNames)
A list of supported AWS services.
serviceNames
- A list of supported AWS services.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 DescribeVpcEndpointServicesResult 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 DescribeVpcEndpointServicesResult clone()
clone
in class java.lang.Object