Interface ListThingPrincipalsV2Request.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListThingPrincipalsV2Request.Builder,ListThingPrincipalsV2Request>,IotRequest.Builder,SdkBuilder<ListThingPrincipalsV2Request.Builder,ListThingPrincipalsV2Request>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListThingPrincipalsV2Request
public static interface ListThingPrincipalsV2Request.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<ListThingPrincipalsV2Request.Builder,ListThingPrincipalsV2Request>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListThingPrincipalsV2Request.BuildermaxResults(Integer maxResults)The maximum number of results to return in this operation.ListThingPrincipalsV2Request.BuildernextToken(String nextToken)To retrieve the next set of results, thenextTokenvalue from a previous response; otherwise null to receive the first set of results.ListThingPrincipalsV2Request.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListThingPrincipalsV2Request.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListThingPrincipalsV2Request.BuilderthingName(String thingName)The name of the thing.ListThingPrincipalsV2Request.BuilderthingPrincipalType(String thingPrincipalType)The type of the relation you want to filter in the response.ListThingPrincipalsV2Request.BuilderthingPrincipalType(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 Detail
-
nextToken
ListThingPrincipalsV2Request.Builder nextToken(String nextToken)
To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwise null to receive the first set of results.- Parameters:
nextToken- To retrieve the next set of results, thenextTokenvalue 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
ListThingPrincipalsV2Request.Builder maxResults(Integer 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.
-
thingName
ListThingPrincipalsV2Request.Builder thingName(String thingName)
The name of the thing.
- Parameters:
thingName- The name of the thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingPrincipalType
ListThingPrincipalsV2Request.Builder thingPrincipalType(String 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 principals, including both the
EXCLUSIVE_THINGandNON_EXCLUSIVE_THINGattachment 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 principals, including both theEXCLUSIVE_THINGandNON_EXCLUSIVE_THINGattachment 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,ThingPrincipalType
-
-
thingPrincipalType
ListThingPrincipalsV2Request.Builder thingPrincipalType(ThingPrincipalType 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 principals, including both the
EXCLUSIVE_THINGandNON_EXCLUSIVE_THINGattachment 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 principals, including both theEXCLUSIVE_THINGandNON_EXCLUSIVE_THINGattachment 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,ThingPrincipalType
-
-
overrideConfiguration
ListThingPrincipalsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListThingPrincipalsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-