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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListThingPrincipalsV2Response.BuildernextToken(String nextToken)The token to use to get the next set of results, or null if there are no additional results.ListThingPrincipalsV2Response.BuilderthingPrincipalObjects(Collection<ThingPrincipalObject> thingPrincipalObjects)A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.ListThingPrincipalsV2Response.BuilderthingPrincipalObjects(Consumer<ThingPrincipalObject.Builder>... thingPrincipalObjects)A list ofthingPrincipalObjectthat represents the principal and the type of relation it has with the thing.ListThingPrincipalsV2Response.BuilderthingPrincipalObjects(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
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
-
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 to#thingPrincipalObjects(List.) - 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:
#thingPrincipalObjects(java.util.Collection)
-
nextToken
ListThingPrincipalsV2Response.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.
-
-