@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchTransitGatewayRoutesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchTransitGatewayRoutesResult() |
Modifier and Type | Method and Description |
---|---|
SearchTransitGatewayRoutesResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAdditionalRoutesAvailable()
Indicates whether there are additional routes available.
|
List<TransitGatewayRoute> |
getRoutes()
Information about the routes.
|
int |
hashCode() |
Boolean |
isAdditionalRoutesAvailable()
Indicates whether there are additional routes available.
|
void |
setAdditionalRoutesAvailable(Boolean additionalRoutesAvailable)
Indicates whether there are additional routes available.
|
void |
setRoutes(Collection<TransitGatewayRoute> routes)
Information about the routes.
|
String |
toString()
Returns a string representation of this object.
|
SearchTransitGatewayRoutesResult |
withAdditionalRoutesAvailable(Boolean additionalRoutesAvailable)
Indicates whether there are additional routes available.
|
SearchTransitGatewayRoutesResult |
withRoutes(Collection<TransitGatewayRoute> routes)
Information about the routes.
|
SearchTransitGatewayRoutesResult |
withRoutes(TransitGatewayRoute... routes)
Information about the routes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TransitGatewayRoute> getRoutes()
Information about the routes.
public void setRoutes(Collection<TransitGatewayRoute> routes)
Information about the routes.
routes
- Information about the routes.public SearchTransitGatewayRoutesResult withRoutes(TransitGatewayRoute... routes)
Information about the routes.
NOTE: This method appends the values to the existing list (if any). Use
setRoutes(java.util.Collection)
or withRoutes(java.util.Collection)
if you want to override the
existing values.
routes
- Information about the routes.public SearchTransitGatewayRoutesResult withRoutes(Collection<TransitGatewayRoute> routes)
Information about the routes.
routes
- Information about the routes.public void setAdditionalRoutesAvailable(Boolean additionalRoutesAvailable)
Indicates whether there are additional routes available.
additionalRoutesAvailable
- Indicates whether there are additional routes available.public Boolean getAdditionalRoutesAvailable()
Indicates whether there are additional routes available.
public SearchTransitGatewayRoutesResult withAdditionalRoutesAvailable(Boolean additionalRoutesAvailable)
Indicates whether there are additional routes available.
additionalRoutesAvailable
- Indicates whether there are additional routes available.public Boolean isAdditionalRoutesAvailable()
Indicates whether there are additional routes available.
public String toString()
toString
in class Object
Object.toString()
public SearchTransitGatewayRoutesResult clone()