@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCarrierGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCarrierGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCarrierGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<CarrierGateway> |
getCarrierGateways()
Information about the carrier gateway.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCarrierGateways(Collection<CarrierGateway> carrierGateways)
Information about the carrier gateway.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCarrierGatewaysResult |
withCarrierGateways(CarrierGateway... carrierGateways)
Information about the carrier gateway.
|
DescribeCarrierGatewaysResult |
withCarrierGateways(Collection<CarrierGateway> carrierGateways)
Information about the carrier gateway.
|
DescribeCarrierGatewaysResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CarrierGateway> getCarrierGateways()
Information about the carrier gateway.
public void setCarrierGateways(Collection<CarrierGateway> carrierGateways)
Information about the carrier gateway.
carrierGateways
- Information about the carrier gateway.public DescribeCarrierGatewaysResult withCarrierGateways(CarrierGateway... carrierGateways)
Information about the carrier gateway.
NOTE: This method appends the values to the existing list (if any). Use
setCarrierGateways(java.util.Collection)
or withCarrierGateways(java.util.Collection)
if you
want to override the existing values.
carrierGateways
- Information about the carrier gateway.public DescribeCarrierGatewaysResult withCarrierGateways(Collection<CarrierGateway> carrierGateways)
Information about the carrier gateway.
carrierGateways
- Information about the carrier gateway.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 DescribeCarrierGatewaysResult 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 DescribeCarrierGatewaysResult clone()