Class TagSyncTaskItem
- java.lang.Object
-
- software.amazon.awssdk.services.resourcegroups.model.TagSyncTaskItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TagSyncTaskItem.Builder,TagSyncTaskItem>
@Generated("software.amazon.awssdk:codegen") public final class TagSyncTaskItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TagSyncTaskItem.Builder,TagSyncTaskItem>
The Amazon resource name (ARN) of the tag-sync task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTagSyncTaskItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagSyncTaskItem.Builderbuilder()InstantcreatedAt()The timestamp of when the tag-sync task was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()The specific error message in cases where the tag-sync task status isError.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupArn()The Amazon resource name (ARN) of the application group.StringgroupName()The name of the application group.inthashCode()StringroleArn()The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.List<SdkField<?>>sdkFields()static Class<? extends TagSyncTaskItem.Builder>serializableBuilderClass()TagSyncTaskStatusstatus()The status of the tag-sync task.StringstatusAsString()The status of the tag-sync task.StringtagKey()The tag key.StringtagValue()The tag value.StringtaskArn()The Amazon resource name (ARN) of the tag-sync task.TagSyncTaskItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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 the service to tag and untag resources on your behalf.
- Returns:
- The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
-
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 theawsApplicationtag 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 theErrorMessagefor more information about resolving the error.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTagSyncTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- 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 theawsApplicationtag 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 theErrorMessagefor 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 theawsApplicationtag 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 theErrorMessagefor more information about resolving the error.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTagSyncTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- 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 theawsApplicationtag 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 theErrorMessagefor 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.
-
toBuilder
public TagSyncTaskItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TagSyncTaskItem.Builder,TagSyncTaskItem>
-
builder
public static TagSyncTaskItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends TagSyncTaskItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-