Interface GetTagSyncTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTagSyncTaskResponse.Builder,GetTagSyncTaskResponse>,ResourceGroupsResponse.Builder,SdkBuilder<GetTagSyncTaskResponse.Builder,GetTagSyncTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTagSyncTaskResponse
public static interface GetTagSyncTaskResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<GetTagSyncTaskResponse.Builder,GetTagSyncTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTagSyncTaskResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the tag-sync task was created.GetTagSyncTaskResponse.BuildererrorMessage(String errorMessage)The specific error message in cases where the tag-sync task status isERROR.GetTagSyncTaskResponse.BuildergroupArn(String groupArn)The Amazon resource name (ARN) of the application group.GetTagSyncTaskResponse.BuildergroupName(String groupName)The name of the application group.GetTagSyncTaskResponse.BuilderroleArn(String roleArn)The Amazon resource name (ARN) of the role assumed by Resource Groups to tag and untag resources on your behalf.GetTagSyncTaskResponse.Builderstatus(String status)The status of the tag-sync task.GetTagSyncTaskResponse.Builderstatus(TagSyncTaskStatus status)The status of the tag-sync task.GetTagSyncTaskResponse.BuildertagKey(String tagKey)The tag key.GetTagSyncTaskResponse.BuildertagValue(String tagValue)The tag value.GetTagSyncTaskResponse.BuildertaskArn(String taskArn)The Amazon resource name (ARN) of the tag-sync task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
groupArn
GetTagSyncTaskResponse.Builder groupArn(String groupArn)
The Amazon resource name (ARN) of the application group.
- Parameters:
groupArn- The Amazon resource name (ARN) of the application group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
GetTagSyncTaskResponse.Builder groupName(String groupName)
The name of the application group.
- Parameters:
groupName- The name of the application group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
GetTagSyncTaskResponse.Builder taskArn(String taskArn)
The Amazon resource name (ARN) of the tag-sync task.
- Parameters:
taskArn- The Amazon resource name (ARN) of the tag-sync task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagKey
GetTagSyncTaskResponse.Builder tagKey(String tagKey)
The tag key.
- Parameters:
tagKey- The tag key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValue
GetTagSyncTaskResponse.Builder tagValue(String tagValue)
The tag value.
- Parameters:
tagValue- The tag value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
GetTagSyncTaskResponse.Builder roleArn(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetTagSyncTaskResponse.Builder status(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TagSyncTaskStatus,TagSyncTaskStatus
-
-
status
GetTagSyncTaskResponse.Builder status(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TagSyncTaskStatus,TagSyncTaskStatus
-
-
errorMessage
GetTagSyncTaskResponse.Builder errorMessage(String errorMessage)
The specific error message in cases where the tag-sync task status is
ERROR.- Parameters:
errorMessage- The specific error message in cases where the tag-sync task status isERROR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GetTagSyncTaskResponse.Builder createdAt(Instant createdAt)
The timestamp of when the tag-sync task was created.
- Parameters:
createdAt- The timestamp of when the tag-sync task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-