Interface ListPrincipalThingsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListPrincipalThingsV2Request.Builder,
,ListPrincipalThingsV2Request> IotRequest.Builder
,SdkBuilder<ListPrincipalThingsV2Request.Builder,
,ListPrincipalThingsV2Request> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPrincipalThingsV2Request
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results to return in this operation.To retrieve the next set of results, thenextToken
value from a previous response; otherwise null to receive the first set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The principal.thingPrincipalType
(String thingPrincipalType) The type of the relation you want to filter in the response.thingPrincipalType
(ThingPrincipalType thingPrincipalType) The type of the relation you want to filter in the response.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
To retrieve the next set of results, the
nextToken
value from a previous response; otherwise null to receive the first set of results.- Parameters:
nextToken
- To retrieve the next set of results, thenextToken
value from a previous response; otherwise null to receive the first set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in this operation.
- Parameters:
maxResults
- The maximum number of results to return in this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.
- Parameters:
principal
- The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingPrincipalType
The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both the
EXCLUSIVE_THING
andNON_EXCLUSIVE_THING
attachment types.-
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
- Parameters:
thingPrincipalType
- The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both theEXCLUSIVE_THING
andNON_EXCLUSIVE_THING
attachment types.-
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
thingPrincipalType
The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both the
EXCLUSIVE_THING
andNON_EXCLUSIVE_THING
attachment types.-
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
- Parameters:
thingPrincipalType
- The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both theEXCLUSIVE_THING
andNON_EXCLUSIVE_THING
attachment types.-
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
ListPrincipalThingsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPrincipalThingsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-