JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.iotthingsgraph.model

Class AssociateEntityToThingRequest

    • Constructor Detail

      • AssociateEntityToThingRequest

        public AssociateEntityToThingRequest()
    • Method Detail

      • setThingName

        public void setThingName(String thingName)

        The name of the thing to which the entity is to be associated.

        Parameters:
        thingName - The name of the thing to which the entity is to be associated.
      • getThingName

        public String getThingName()

        The name of the thing to which the entity is to be associated.

        Returns:
        The name of the thing to which the entity is to be associated.
      • withThingName

        public AssociateEntityToThingRequest withThingName(String thingName)

        The name of the thing to which the entity is to be associated.

        Parameters:
        thingName - The name of the thing to which the entity is to be associated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEntityId

        public void setEntityId(String entityId)

        The ID of the device to be associated with the thing.

        The ID should be in the following format.

        urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

        Parameters:
        entityId - The ID of the device to be associated with the thing.

        The ID should be in the following format.

        urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

      • getEntityId

        public String getEntityId()

        The ID of the device to be associated with the thing.

        The ID should be in the following format.

        urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

        Returns:
        The ID of the device to be associated with the thing.

        The ID should be in the following format.

        urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

      • withEntityId

        public AssociateEntityToThingRequest withEntityId(String entityId)

        The ID of the device to be associated with the thing.

        The ID should be in the following format.

        urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

        Parameters:
        entityId - The ID of the device to be associated with the thing.

        The ID should be in the following format.

        urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNamespaceVersion

        public void setNamespaceVersion(Long namespaceVersion)

        The version of the user's namespace. Defaults to the latest version of the user's namespace.

        Parameters:
        namespaceVersion - The version of the user's namespace. Defaults to the latest version of the user's namespace.
      • getNamespaceVersion

        public Long getNamespaceVersion()

        The version of the user's namespace. Defaults to the latest version of the user's namespace.

        Returns:
        The version of the user's namespace. Defaults to the latest version of the user's namespace.
      • withNamespaceVersion

        public AssociateEntityToThingRequest withNamespaceVersion(Long namespaceVersion)

        The version of the user's namespace. Defaults to the latest version of the user's namespace.

        Parameters:
        namespaceVersion - The version of the user's namespace. Defaults to the latest version of the user's namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /