@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBridgesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBridgesResult() |
Modifier and Type | Method and Description |
---|---|
ListBridgesResult |
clone() |
boolean |
equals(Object obj) |
List<ListedBridge> |
getBridges()
A list of bridge summaries.
|
String |
getNextToken()
The token that identifies which batch of results that you want to see.
|
int |
hashCode() |
void |
setBridges(Collection<ListedBridge> bridges)
A list of bridge summaries.
|
void |
setNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
String |
toString()
Returns a string representation of this object.
|
ListBridgesResult |
withBridges(Collection<ListedBridge> bridges)
A list of bridge summaries.
|
ListBridgesResult |
withBridges(ListedBridge... bridges)
A list of bridge summaries.
|
ListBridgesResult |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListedBridge> getBridges()
public void setBridges(Collection<ListedBridge> bridges)
bridges
- A list of bridge summaries.public ListBridgesResult withBridges(ListedBridge... bridges)
NOTE: This method appends the values to the existing list (if any). Use
setBridges(java.util.Collection)
or withBridges(java.util.Collection)
if you want to override
the existing values.
bridges
- A list of bridge summaries.public ListBridgesResult withBridges(Collection<ListedBridge> bridges)
bridges
- A list of bridge summaries.public void setNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListBridges request with MaxResults set at 5. The service returns the first batch of results (up to 5) and
a NextToken value. To see the next batch of results, you can submit the ListBridges request a second time
and specify the NextToken value.public String getNextToken()
public ListBridgesResult withNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListBridges request with MaxResults set at 5. The service returns the first batch of results (up to 5) and
a NextToken value. To see the next batch of results, you can submit the ListBridges request a second time
and specify the NextToken value.public String toString()
toString
in class Object
Object.toString()
public ListBridgesResult clone()