Interface ListPrincipalThingsV2Response.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPrincipalThingsV2Response.Builder,ListPrincipalThingsV2Response>
,IotResponse.Builder
,SdkBuilder<ListPrincipalThingsV2Response.Builder,ListPrincipalThingsV2Response>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListPrincipalThingsV2Response
public static interface ListPrincipalThingsV2Response.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListPrincipalThingsV2Response.Builder,ListPrincipalThingsV2Response>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPrincipalThingsV2Response.Builder
nextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.ListPrincipalThingsV2Response.Builder
principalThingObjects(Collection<PrincipalThingObject> principalThingObjects)
A list ofthingPrincipalObject
that represents the principal and the type of relation it has with the thing.ListPrincipalThingsV2Response.Builder
principalThingObjects(Consumer<PrincipalThingObject.Builder>... principalThingObjects)
A list ofthingPrincipalObject
that represents the principal and the type of relation it has with the thing.ListPrincipalThingsV2Response.Builder
principalThingObjects(PrincipalThingObject... principalThingObjects)
A list ofthingPrincipalObject
that represents the principal and the type of relation it has with the thing.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
principalThingObjects
ListPrincipalThingsV2Response.Builder principalThingObjects(Collection<PrincipalThingObject> principalThingObjects)
A list of
thingPrincipalObject
that represents the principal and the type of relation it has with the thing.- Parameters:
principalThingObjects
- A list ofthingPrincipalObject
that 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.
-
principalThingObjects
ListPrincipalThingsV2Response.Builder principalThingObjects(PrincipalThingObject... principalThingObjects)
A list of
thingPrincipalObject
that represents the principal and the type of relation it has with the thing.- Parameters:
principalThingObjects
- A list ofthingPrincipalObject
that 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.
-
principalThingObjects
ListPrincipalThingsV2Response.Builder principalThingObjects(Consumer<PrincipalThingObject.Builder>... principalThingObjects)
A list of
This is a convenience method that creates an instance of thethingPrincipalObject
that represents the principal and the type of relation it has with the thing.PrincipalThingObject.Builder
avoiding the need to create one manually viaPrincipalThingObject.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#principalThingObjects(List
.) - Parameters:
principalThingObjects
- a consumer that will call methods onPrincipalThingObject.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#principalThingObjects(java.util.Collection
)
-
nextToken
ListPrincipalThingsV2Response.Builder nextToken(String 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.
-
-