Class GetTagSyncTaskResponse

    • Method Detail

      • groupArn

        public final String groupArn()

        The Amazon resource name (ARN) of the application group.

        Returns:
        The Amazon resource name (ARN) of the application group.
      • groupName

        public final String groupName()

        The name of the application group.

        Returns:
        The name of the application group.
      • taskArn

        public final String taskArn()

        The Amazon resource name (ARN) of the tag-sync task.

        Returns:
        The Amazon resource name (ARN) of the tag-sync task.
      • tagKey

        public final String tagKey()

        The tag key.

        Returns:
        The tag key.
      • tagValue

        public final String tagValue()

        The tag value.

        Returns:
        The tag value.
      • roleArn

        public final String roleArn()

        The Amazon resource name (ARN) of the role assumed by Resource Groups to tag and untag resources on your behalf.

        For more information about this role, review Tag-sync required permissions.

        Returns:
        The Amazon resource name (ARN) of the role assumed by Resource Groups to tag and untag resources on your behalf.

        For more information about this role, review Tag-sync required permissions.

      • status

        public final TagSyncTaskStatus status()

        The status of the tag-sync task.

        Valid values include:

        • ACTIVE - The tag-sync task is actively managing resources in the application by adding or removing the awsApplication tag from resources when they are tagged or untagged with the specified tag key-value pair.

        • ERROR - The tag-sync task is not actively managing resources in the application. Review the ErrorMessage for more information about resolving the error.

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

        Returns:
        The status of the tag-sync task.

        Valid values include:

        • ACTIVE - The tag-sync task is actively managing resources in the application by adding or removing the awsApplication tag from resources when they are tagged or untagged with the specified tag key-value pair.

        • ERROR - The tag-sync task is not actively managing resources in the application. Review the ErrorMessage for more information about resolving the error.

        See Also:
        TagSyncTaskStatus
      • statusAsString

        public final String statusAsString()

        The status of the tag-sync task.

        Valid values include:

        • ACTIVE - The tag-sync task is actively managing resources in the application by adding or removing the awsApplication tag from resources when they are tagged or untagged with the specified tag key-value pair.

        • ERROR - The tag-sync task is not actively managing resources in the application. Review the ErrorMessage for more information about resolving the error.

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

        Returns:
        The status of the tag-sync task.

        Valid values include:

        • ACTIVE - The tag-sync task is actively managing resources in the application by adding or removing the awsApplication tag from resources when they are tagged or untagged with the specified tag key-value pair.

        • ERROR - The tag-sync task is not actively managing resources in the application. Review the ErrorMessage for more information about resolving the error.

        See Also:
        TagSyncTaskStatus
      • errorMessage

        public final String errorMessage()

        The specific error message in cases where the tag-sync task status is ERROR.

        Returns:
        The specific error message in cases where the tag-sync task status is ERROR.
      • createdAt

        public final Instant createdAt()

        The timestamp of when the tag-sync task was created.

        Returns:
        The timestamp of when the tag-sync task was created.
      • 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