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