Class Core

    • Method Detail

      • certificateArn

        public final String certificateArn()
        The ARN of the certificate associated with the core.
        Returns:
        The ARN of the certificate associated with the core.
      • id

        public final String id()
        A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
        Returns:
        A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
      • syncShadow

        public final Boolean syncShadow()
        If true, the core's local shadow is automatically synced with the cloud.
        Returns:
        If true, the core's local shadow is automatically synced with the cloud.
      • thingArn

        public final String thingArn()
        The ARN of the thing which is the core.
        Returns:
        The ARN of the thing which is the core.
      • serializableBuilderClass

        public static Class<? extends Core.Builder> serializableBuilderClass()
      • 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)