Interface ListThingPrincipalsV2Response.Builder

    • Method Detail

      • thingPrincipalObjects

        ListThingPrincipalsV2Response.Builder thingPrincipalObjects​(Collection<ThingPrincipalObject> thingPrincipalObjects)

        A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing.

        Parameters:
        thingPrincipalObjects - A list of thingPrincipalObject 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.
      • thingPrincipalObjects

        ListThingPrincipalsV2Response.Builder thingPrincipalObjects​(ThingPrincipalObject... thingPrincipalObjects)

        A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing.

        Parameters:
        thingPrincipalObjects - A list of thingPrincipalObject 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.
      • 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.