Interface ListThingPrincipalsV2Request.Builder

    • Method Detail

      • nextToken

        ListThingPrincipalsV2Request.Builder nextToken​(String 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, the nextToken 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

        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_THING and NON_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 principals, including both the EXCLUSIVE_THING and NON_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, 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_THING and NON_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 principals, including both the EXCLUSIVE_THING and NON_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, ThingPrincipalType