@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetVpcLinksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetVpcLinksResult() |
Modifier and Type | Method and Description |
---|---|
GetVpcLinksResult |
clone() |
boolean |
equals(Object obj) |
List<VpcLink> |
getItems()
A collection of VPC links.
|
String |
getNextToken()
The next page of elements from this collection.
|
int |
hashCode() |
void |
setItems(Collection<VpcLink> items)
A collection of VPC links.
|
void |
setNextToken(String nextToken)
The next page of elements from this collection.
|
String |
toString()
Returns a string representation of this object.
|
GetVpcLinksResult |
withItems(Collection<VpcLink> items)
A collection of VPC links.
|
GetVpcLinksResult |
withItems(VpcLink... items)
A collection of VPC links.
|
GetVpcLinksResult |
withNextToken(String nextToken)
The next page of elements from this collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<VpcLink> getItems()
A collection of VPC links.
public void setItems(Collection<VpcLink> items)
A collection of VPC links.
items
- A collection of VPC links.public GetVpcLinksResult withItems(VpcLink... items)
A collection of VPC links.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- A collection of VPC links.public GetVpcLinksResult withItems(Collection<VpcLink> items)
A collection of VPC links.
items
- A collection of VPC links.public void setNextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
nextToken
- The next page of elements from this collection. Not valid for the last element of the collection.public String getNextToken()
The next page of elements from this collection. Not valid for the last element of the collection.
public GetVpcLinksResult withNextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
nextToken
- The next page of elements from this collection. Not valid for the last element of the collection.public String toString()
toString
in class Object
Object.toString()
public GetVpcLinksResult clone()