public class ListThingPrincipalsResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListThingPrincipals operation.
Constructor and Description |
---|
ListThingPrincipalsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use to get the next set of results, or null if there
are no additional results.
|
java.util.List<java.lang.String> |
getPrincipals()
The principals associated with the thing.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there
are no additional results.
|
void |
setPrincipals(java.util.Collection<java.lang.String> principals)
The principals associated with the thing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingPrincipalsResult |
withNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there
are no additional results.
|
ListThingPrincipalsResult |
withPrincipals(java.util.Collection<java.lang.String> principals)
The principals associated with the thing.
|
ListThingPrincipalsResult |
withPrincipals(java.lang.String... principals)
The principals associated with the thing.
|
public java.util.List<java.lang.String> getPrincipals()
The principals associated with the thing.
The principals associated with the thing.
public void setPrincipals(java.util.Collection<java.lang.String> principals)
The principals associated with the thing.
principals
- The principals associated with the thing.
public ListThingPrincipalsResult withPrincipals(java.lang.String... principals)
The principals associated with the thing.
Returns a reference to this object so that method calls can be chained together.
principals
- The principals associated with the thing.
public ListThingPrincipalsResult withPrincipals(java.util.Collection<java.lang.String> principals)
The principals associated with the thing.
Returns a reference to this object so that method calls can be chained together.
principals
- The principals associated with the thing.
public java.lang.String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
The token to use to get the next set of results, or null if there are no additional results.
public void setNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.
public ListThingPrincipalsResult withNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.