CopyableBuilder<ListThingPrincipalsResponse.Builder,ListThingPrincipalsResponse>
, SdkBuilder<ListThingPrincipalsResponse.Builder,ListThingPrincipalsResponse>
public static interface ListThingPrincipalsResponse.Builder extends CopyableBuilder<ListThingPrincipalsResponse.Builder,ListThingPrincipalsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListThingPrincipalsResponse.Builder |
principals(String... principals) |
The principals associated with the thing.
|
ListThingPrincipalsResponse.Builder |
principals(Collection<String> principals) |
The principals associated with the thing.
|
copy
apply, build
ListThingPrincipalsResponse.Builder principals(Collection<String> principals)
The principals associated with the thing.
principals
- The principals associated with the thing.ListThingPrincipalsResponse.Builder principals(String... principals)
The principals associated with the thing.
NOTE: This method appends the values to the existing list (if any). Use
#setPrincipals(java.util.Collection)
or #withPrincipals(java.util.Collection)
if you want to
override the existing values.
principals
- The principals associated with the thing.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.