Class GetBasePathMappingsResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetBasePathMappingsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetBasePathMappingsResult extends Object implements Serializable, Cloneable
Represents a collection of BasePathMapping resources.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetBasePathMappingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetBasePathMappingsResultclone()booleanequals(Object obj)List<BasePathMapping>getItems()The current page of any BasePathMapping resources in the collection of base path mapping resources.StringgetPosition()inthashCode()voidsetItems(Collection<BasePathMapping> items)The current page of any BasePathMapping resources in the collection of base path mapping resources.voidsetPosition(String position)StringtoString()Returns a string representation of this object; useful for testing and debugging.GetBasePathMappingsResultwithItems(BasePathMapping... items)The current page of any BasePathMapping resources in the collection of base path mapping resources.GetBasePathMappingsResultwithItems(Collection<BasePathMapping> items)The current page of any BasePathMapping resources in the collection of base path mapping resources.GetBasePathMappingsResultwithPosition(String position)
-
-
-
Method Detail
-
setPosition
public void setPosition(String position)
- Parameters:
position-
-
getPosition
public String getPosition()
- Returns:
-
withPosition
public GetBasePathMappingsResult withPosition(String position)
- Parameters:
position-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<BasePathMapping> getItems()
The current page of any BasePathMapping resources in the collection of base path mapping resources.
- Returns:
- The current page of any BasePathMapping resources in the collection of base path mapping resources.
-
setItems
public void setItems(Collection<BasePathMapping> items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
- Parameters:
items- The current page of any BasePathMapping resources in the collection of base path mapping resources.
-
withItems
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)orwithItems(java.util.Collection)if you want to override the existing values.- Parameters:
items- The current page of any BasePathMapping resources in the collection of base path mapping resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
public GetBasePathMappingsResult withItems(Collection<BasePathMapping> items)
The current page of any BasePathMapping resources in the collection of base path mapping resources.
- Parameters:
items- The current page of any BasePathMapping resources in the collection of base path mapping resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetBasePathMappingsResult clone()
-
-