@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTransitGatewayConnectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTransitGatewayConnectsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTransitGatewayConnectsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TransitGatewayConnect> |
getTransitGatewayConnects()
Information about the Connect attachments.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTransitGatewayConnects(Collection<TransitGatewayConnect> transitGatewayConnects)
Information about the Connect attachments.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTransitGatewayConnectsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTransitGatewayConnectsResult |
withTransitGatewayConnects(Collection<TransitGatewayConnect> transitGatewayConnects)
Information about the Connect attachments.
|
DescribeTransitGatewayConnectsResult |
withTransitGatewayConnects(TransitGatewayConnect... transitGatewayConnects)
Information about the Connect attachments.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeTransitGatewayConnectsResult()
public List<TransitGatewayConnect> getTransitGatewayConnects()
Information about the Connect attachments.
public void setTransitGatewayConnects(Collection<TransitGatewayConnect> transitGatewayConnects)
Information about the Connect attachments.
transitGatewayConnects
- Information about the Connect attachments.public DescribeTransitGatewayConnectsResult withTransitGatewayConnects(TransitGatewayConnect... transitGatewayConnects)
Information about the Connect attachments.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayConnects(java.util.Collection)
or
withTransitGatewayConnects(java.util.Collection)
if you want to override the existing values.
transitGatewayConnects
- Information about the Connect attachments.public DescribeTransitGatewayConnectsResult withTransitGatewayConnects(Collection<TransitGatewayConnect> transitGatewayConnects)
Information about the Connect attachments.
transitGatewayConnects
- Information about the Connect attachments.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeTransitGatewayConnectsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeTransitGatewayConnectsResult clone()