@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetVpcLinksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The collection of VPC links under the caller's account in a region.
| Constructor and Description |
|---|
GetVpcLinksResult () |
| Modifier and Type | Method and Description |
|---|---|
GetVpcLinksResult |
clone () |
boolean |
equals (Object obj) |
List<VpcLink> |
getItems ()
The current page of elements from this collection.
|
String |
getPosition () |
int |
hashCode () |
void |
setItems (Collection<VpcLink> items)
The current page of elements from this collection.
|
void |
setPosition (String position) |
String |
toString ()
Returns a string representation of this object.
|
GetVpcLinksResult |
withItems (Collection<VpcLink> items)
The current page of elements from this collection.
|
GetVpcLinksResult |
withItems (VpcLink... items)
The current page of elements from this collection.
|
GetVpcLinksResult |
withPosition (String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public GetVpcLinksResult()
public void setPosition(String position)
position - public String getPosition()
public GetVpcLinksResult withPosition(String position)
position - public List<VpcLink> getItems()
The current page of elements from this collection.
public void setItems(Collection<VpcLink> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public GetVpcLinksResult withItems(VpcLink... items)
The current page of elements from this collection.
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 - The current page of elements from this collection.public GetVpcLinksResult withItems(Collection<VpcLink> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public String toString()
toString in class Object Object.toString() public GetVpcLinksResult clone()