Interface ListThingPrincipalsV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListThingPrincipalsV2Response.Builder,,ListThingPrincipalsV2Response> IotResponse.Builder,SdkBuilder<ListThingPrincipalsV2Response.Builder,,ListThingPrincipalsV2Response> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListThingPrincipalsV2Response
public static interface ListThingPrincipalsV2Response.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListThingPrincipalsV2Response.Builder,ListThingPrincipalsV2Response>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next set of results, or null if there are no additional results.thingPrincipalObjects(Collection<ThingPrincipalObject> thingPrincipalObjects) A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.thingPrincipalObjects(Consumer<ThingPrincipalObject.Builder>... thingPrincipalObjects) A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.thingPrincipalObjects(ThingPrincipalObject... thingPrincipalObjects) A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
thingPrincipalObjects
ListThingPrincipalsV2Response.Builder thingPrincipalObjects(Collection<ThingPrincipalObject> thingPrincipalObjects) A list of
thingPrincipalObjectthat represents the principal and the type of relation it has with the thing.- Parameters:
thingPrincipalObjects- A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingPrincipalObjects
ListThingPrincipalsV2Response.Builder thingPrincipalObjects(ThingPrincipalObject... thingPrincipalObjects) A list of
thingPrincipalObjectthat represents the principal and the type of relation it has with the thing.- Parameters:
thingPrincipalObjects- A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingPrincipalObjects
ListThingPrincipalsV2Response.Builder thingPrincipalObjects(Consumer<ThingPrincipalObject.Builder>... thingPrincipalObjects) A list of
This is a convenience method that creates an instance of thethingPrincipalObjectthat represents the principal and the type of relation it has with the thing.ThingPrincipalObject.Builderavoiding the need to create one manually viaThingPrincipalObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothingPrincipalObjects(List<ThingPrincipalObject>).- Parameters:
thingPrincipalObjects- a consumer that will call methods onThingPrincipalObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results, or null if there are no additional results.
- Parameters:
nextToken- The token to use to get the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-