public class GetBasePathMappingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a collection of BasePathMapping resources.
Constructor and Description |
---|
GetBasePathMappingsResult() |
Modifier and Type | Method and Description |
---|---|
GetBasePathMappingsResult |
clone() |
boolean |
equals(Object obj) |
List<BasePathMapping> |
getItems()
The current page of any BasePathMapping resources in the collection of base path mapping resources.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<BasePathMapping> items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetBasePathMappingsResult |
withItems(BasePathMapping... items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
|
GetBasePathMappingsResult |
withItems(Collection<BasePathMapping> items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
|
GetBasePathMappingsResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetBasePathMappingsResult withPosition(String position)
position
- public List<BasePathMapping> getItems()
The current page of any BasePathMapping resources in the collection of base path mapping resources.
public void setItems(Collection<BasePathMapping> items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
items
- The current page of any BasePathMapping resources in the collection of base path mapping resources.public GetBasePathMappingsResult withItems(BasePathMapping... items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
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 any BasePathMapping resources in the collection of base path mapping resources.public GetBasePathMappingsResult withItems(Collection<BasePathMapping> items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
items
- The current page of any BasePathMapping resources in the collection of base path mapping resources.public String toString()
toString
in class Object
Object.toString()
public GetBasePathMappingsResult clone()
Copyright © 2016. All rights reserved.