Class WorkGroup

    • Method Detail

      • name

        public final String name()

        The workgroup name.

        Returns:
        The workgroup name.
      • stateAsString

        public final String stateAsString()

        The state of the workgroup: ENABLED or DISABLED.

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

        Returns:
        The state of the workgroup: ENABLED or DISABLED.
        See Also:
        WorkGroupState
      • configuration

        public final WorkGroupConfiguration configuration()

        The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

        Returns:
        The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
      • description

        public final String description()

        The workgroup description.

        Returns:
        The workgroup description.
      • creationTime

        public final Instant creationTime()

        The date and time the workgroup was created.

        Returns:
        The date and time the workgroup was created.
      • identityCenterApplicationArn

        public final String identityCenterApplicationArn()

        The ARN of the IAM Identity Center enabled application associated with the workgroup.

        Returns:
        The ARN of the IAM Identity Center enabled application associated with the workgroup.
      • 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)