Class FlywheelProperties

    • Method Detail

      • flywheelArn

        public final String flywheelArn()

        The Amazon Resource Number (ARN) of the flywheel.

        Returns:
        The Amazon Resource Number (ARN) of the flywheel.
      • activeModelArn

        public final String activeModelArn()

        The Amazon Resource Number (ARN) of the active model version.

        Returns:
        The Amazon Resource Number (ARN) of the active model version.
      • dataAccessRoleArn

        public final String dataAccessRoleArn()

        The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.

        Returns:
        The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.
      • taskConfig

        public final TaskConfig taskConfig()

        Configuration about the model associated with a flywheel.

        Returns:
        Configuration about the model associated with a flywheel.
      • dataLakeS3Uri

        public final String dataLakeS3Uri()

        Amazon S3 URI of the data lake location.

        Returns:
        Amazon S3 URI of the data lake location.
      • dataSecurityConfig

        public final DataSecurityConfig dataSecurityConfig()

        Data security configuration.

        Returns:
        Data security configuration.
      • modelType

        public final ModelType modelType()

        Model type of the flywheel's model.

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

        Returns:
        Model type of the flywheel's model.
        See Also:
        ModelType
      • modelTypeAsString

        public final String modelTypeAsString()

        Model type of the flywheel's model.

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

        Returns:
        Model type of the flywheel's model.
        See Also:
        ModelType
      • message

        public final String message()

        A description of the status of the flywheel.

        Returns:
        A description of the status of the flywheel.
      • creationTime

        public final Instant creationTime()

        Creation time of the flywheel.

        Returns:
        Creation time of the flywheel.
      • lastModifiedTime

        public final Instant lastModifiedTime()

        Last modified time for the flywheel.

        Returns:
        Last modified time for the flywheel.
      • latestFlywheelIteration

        public final String latestFlywheelIteration()

        The most recent flywheel iteration.

        Returns:
        The most recent flywheel iteration.
      • 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)