Class Deployment

    • Method Detail

      • targetArn

        public final String targetArn()

        The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.

        Returns:
        The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
      • revisionId

        public final String revisionId()

        The revision number of the deployment.

        Returns:
        The revision number of the deployment.
      • deploymentId

        public final String deploymentId()

        The ID of the deployment.

        Returns:
        The ID of the deployment.
      • deploymentName

        public final String deploymentName()

        The name of the deployment.

        Returns:
        The name of the deployment.
      • creationTimestamp

        public final Instant creationTimestamp()

        The time at which the deployment was created, expressed in ISO 8601 format.

        Returns:
        The time at which the deployment was created, expressed in ISO 8601 format.
      • isLatestForTarget

        public final Boolean isLatestForTarget()

        Whether or not the deployment is the latest revision for its target.

        Returns:
        Whether or not the deployment is the latest revision for its target.
      • parentTargetArn

        public final String parentTargetArn()

        The parent deployment's target ARN within a subdeployment.

        Returns:
        The parent deployment's target ARN within a subdeployment.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)