@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPlaybackRestrictionPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListPlaybackRestrictionPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPlaybackRestrictionPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are more channels than
maxResults, use nextToken in the request to get the
next set. |
List<PlaybackRestrictionPolicySummary> |
getPlaybackRestrictionPolicies()
List of the matching policies.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more channels than
maxResults, use nextToken in the request to get the
next set. |
void |
setPlaybackRestrictionPolicies(Collection<PlaybackRestrictionPolicySummary> playbackRestrictionPolicies)
List of the matching policies.
|
String |
toString()
Returns a string representation of this object.
|
ListPlaybackRestrictionPoliciesResult |
withNextToken(String nextToken)
If there are more channels than
maxResults, use nextToken in the request to get the
next set. |
ListPlaybackRestrictionPoliciesResult |
withPlaybackRestrictionPolicies(Collection<PlaybackRestrictionPolicySummary> playbackRestrictionPolicies)
List of the matching policies.
|
ListPlaybackRestrictionPoliciesResult |
withPlaybackRestrictionPolicies(PlaybackRestrictionPolicySummary... playbackRestrictionPolicies)
List of the matching policies.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic ListPlaybackRestrictionPoliciesResult()
public List<PlaybackRestrictionPolicySummary> getPlaybackRestrictionPolicies()
List of the matching policies.
public void setPlaybackRestrictionPolicies(Collection<PlaybackRestrictionPolicySummary> playbackRestrictionPolicies)
List of the matching policies.
playbackRestrictionPolicies - List of the matching policies.public ListPlaybackRestrictionPoliciesResult withPlaybackRestrictionPolicies(PlaybackRestrictionPolicySummary... playbackRestrictionPolicies)
List of the matching policies.
NOTE: This method appends the values to the existing list (if any). Use
setPlaybackRestrictionPolicies(java.util.Collection) or
withPlaybackRestrictionPolicies(java.util.Collection) if you want to override the existing values.
playbackRestrictionPolicies - List of the matching policies.public ListPlaybackRestrictionPoliciesResult withPlaybackRestrictionPolicies(Collection<PlaybackRestrictionPolicySummary> playbackRestrictionPolicies)
List of the matching policies.
playbackRestrictionPolicies - List of the matching policies.public void setNextToken(String nextToken)
If there are more channels than maxResults, use nextToken in the request to get the
next set.
nextToken - If there are more channels than maxResults, use nextToken in the request to get
the next set.public String getNextToken()
If there are more channels than maxResults, use nextToken in the request to get the
next set.
maxResults, use nextToken in the request to get
the next set.public ListPlaybackRestrictionPoliciesResult withNextToken(String nextToken)
If there are more channels than maxResults, use nextToken in the request to get the
next set.
nextToken - If there are more channels than maxResults, use nextToken in the request to get
the next set.public String toString()
toString in class ObjectObject.toString()public ListPlaybackRestrictionPoliciesResult clone()