@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEntitlementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The GetEntitlementsRequest contains results from the GetEntitlements operation.
Constructor and Description |
---|
GetEntitlementsResult() |
Modifier and Type | Method and Description |
---|---|
GetEntitlementsResult |
clone() |
boolean |
equals(Object obj) |
List<Entitlement> |
getEntitlements()
The set of entitlements found through the GetEntitlements operation.
|
String |
getNextToken()
For paginated results, use NextToken in subsequent calls to GetEntitlements.
|
int |
hashCode() |
void |
setEntitlements(Collection<Entitlement> entitlements)
The set of entitlements found through the GetEntitlements operation.
|
void |
setNextToken(String nextToken)
For paginated results, use NextToken in subsequent calls to GetEntitlements.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetEntitlementsResult |
withEntitlements(Collection<Entitlement> entitlements)
The set of entitlements found through the GetEntitlements operation.
|
GetEntitlementsResult |
withEntitlements(Entitlement... entitlements)
The set of entitlements found through the GetEntitlements operation.
|
GetEntitlementsResult |
withNextToken(String nextToken)
For paginated results, use NextToken in subsequent calls to GetEntitlements.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Entitlement> getEntitlements()
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
public void setEntitlements(Collection<Entitlement> entitlements)
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
entitlements
- The set of entitlements found through the GetEntitlements operation. If the result contains an empty set
of entitlements, NextToken might still be present and should be used.public GetEntitlementsResult withEntitlements(Entitlement... entitlements)
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
NOTE: This method appends the values to the existing list (if any). Use
setEntitlements(java.util.Collection)
or withEntitlements(java.util.Collection)
if you want to
override the existing values.
entitlements
- The set of entitlements found through the GetEntitlements operation. If the result contains an empty set
of entitlements, NextToken might still be present and should be used.public GetEntitlementsResult withEntitlements(Collection<Entitlement> entitlements)
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
entitlements
- The set of entitlements found through the GetEntitlements operation. If the result contains an empty set
of entitlements, NextToken might still be present and should be used.public void setNextToken(String nextToken)
For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
nextToken
- For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an
empty set of entitlements, NextToken might still be present and should be used.public String getNextToken()
For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
public GetEntitlementsResult withNextToken(String nextToken)
For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
nextToken
- For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an
empty set of entitlements, NextToken might still be present and should be used.public String toString()
toString
in class Object
Object.toString()
public GetEntitlementsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.