public class ListThingPrincipalsResult extends Object implements Serializable
The output from the ListThingPrincipals operation.
| Constructor and Description |
|---|
ListThingPrincipalsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getPrincipals()
The principals associated with the thing.
|
int |
hashCode() |
void |
setPrincipals(Collection<String> principals)
The principals associated with the thing.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingPrincipalsResult |
withPrincipals(Collection<String> principals)
The principals associated with the thing.
|
ListThingPrincipalsResult |
withPrincipals(String... principals)
The principals associated with the thing.
|
public List<String> getPrincipals()
The principals associated with the thing.
The principals associated with the thing.
public void setPrincipals(Collection<String> principals)
The principals associated with the thing.
principals - The principals associated with the thing.
public ListThingPrincipalsResult withPrincipals(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(Collection<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 String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.