Package com.amazonaws.services.iot.model
Class ListThingPrincipalsResult
java.lang.Object
com.amazonaws.services.iot.model.ListThingPrincipalsResult
- All Implemented Interfaces:
Serializable,Cloneable
The output from the ListThingPrincipals operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe principals.inthashCode()voidsetPrincipals(Collection<String> principals) The principals.toString()Returns a string representation of this object; useful for testing and debugging.withPrincipals(String... principals) The principals.withPrincipals(Collection<String> principals) The principals.
-
Constructor Details
-
ListThingPrincipalsResult
public ListThingPrincipalsResult()
-
-
Method Details
-
getPrincipals
The principals.
- Returns:
- The principals.
-
setPrincipals
The principals.
- Parameters:
principals- The principals.
-
withPrincipals
The principals.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection)orwithPrincipals(java.util.Collection)if you want to override the existing values.- Parameters:
principals- The principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPrincipals
The principals.
- Parameters:
principals- The principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-