Class DatasetGroup

    • Method Detail

      • name

        public final String name()

        The name of the dataset group.

        Returns:
        The name of the dataset group.
      • datasetGroupArn

        public final String datasetGroupArn()

        The Amazon Resource Name (ARN) of the dataset group.

        Returns:
        The Amazon Resource Name (ARN) of the dataset group.
      • status

        public final String status()

        The current status of the dataset group.

        A dataset group can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        • DELETE PENDING

        Returns:
        The current status of the dataset group.

        A dataset group can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        • DELETE PENDING

      • roleArn

        public final String roleArn()

        The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.

        Returns:
        The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
      • kmsKeyArn

        public final String kmsKeyArn()

        The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.

        Returns:
        The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
      • creationDateTime

        public final Instant creationDateTime()

        The creation date and time (in Unix time) of the dataset group.

        Returns:
        The creation date and time (in Unix time) of the dataset group.
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

        The last update date and time (in Unix time) of the dataset group.

        Returns:
        The last update date and time (in Unix time) of the dataset group.
      • failureReason

        public final String failureReason()

        If creating a dataset group fails, provides the reason why.

        Returns:
        If creating a dataset group fails, provides the reason why.
      • domain

        public final Domain domain()

        The domain of a Domain dataset group.

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

        Returns:
        The domain of a Domain dataset group.
        See Also:
        Domain
      • domainAsString

        public final String domainAsString()

        The domain of a Domain dataset group.

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

        Returns:
        The domain of a Domain dataset group.
        See Also:
        Domain
      • 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)