@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEntitlementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEntitlementsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEntitlementsResult |
clone() |
boolean |
equals(Object obj) |
List<Entitlement> |
getEntitlements()
The entitlements.
|
String |
getNextToken()
The pagination token used to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setEntitlements(Collection<Entitlement> entitlements)
The entitlements.
|
void |
setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEntitlementsResult |
withEntitlements(Collection<Entitlement> entitlements)
The entitlements.
|
DescribeEntitlementsResult |
withEntitlements(Entitlement... entitlements)
The entitlements.
|
DescribeEntitlementsResult |
withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Entitlement> getEntitlements()
The entitlements.
public void setEntitlements(Collection<Entitlement> entitlements)
The entitlements.
entitlements
- The entitlements.public DescribeEntitlementsResult withEntitlements(Entitlement... entitlements)
The entitlements.
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 entitlements.public DescribeEntitlementsResult withEntitlements(Collection<Entitlement> entitlements)
The entitlements.
entitlements
- The entitlements.public void setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
nextToken
- The pagination token used to retrieve the next page of results for this operation.public String getNextToken()
The pagination token used to retrieve the next page of results for this operation.
public DescribeEntitlementsResult withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
nextToken
- The pagination token used to retrieve the next page of results for this operation.public String toString()
toString
in class Object
Object.toString()
public DescribeEntitlementsResult clone()