Class GetTagSyncTaskResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse
-
- software.amazon.awssdk.services.resourcegroups.model.GetTagSyncTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetTagSyncTaskResponse.Builder,GetTagSyncTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetTagSyncTaskResponse extends ResourceGroupsResponse implements ToCopyableBuilder<GetTagSyncTaskResponse.Builder,GetTagSyncTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetTagSyncTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTagSyncTaskResponse.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 Resource Groups to tag and untag resources on your behalf.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetTagSyncTaskResponse.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.GetTagSyncTaskResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 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 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 GetTagSyncTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetTagSyncTaskResponse.Builder,GetTagSyncTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetTagSyncTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetTagSyncTaskResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-