Class ListPrincipalThingsV2Request

    • Method Detail

      • nextToken

        public final 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.

        Returns:
        To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to return in this operation.

        Returns:
        The maximum number of results to return in this operation.
      • principal

        public final String principal()

        The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.

        Returns:
        The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.
      • thingPrincipalType

        public final 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 things, 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.

        If the service returns an enum value that is not available in the current SDK version, thingPrincipalType will return ThingPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from thingPrincipalTypeAsString().

        Returns:
        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 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.

        See Also:
        ThingPrincipalType
      • thingPrincipalTypeAsString

        public final String thingPrincipalTypeAsString()

        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 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.

        If the service returns an enum value that is not available in the current SDK version, thingPrincipalType will return ThingPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from thingPrincipalTypeAsString().

        Returns:
        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 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.

        See Also:
        ThingPrincipalType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object