Interface ResourceTagMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceTagMapping.Builder,
,ResourceTagMapping> SdkBuilder<ResourceTagMapping.Builder,
,ResourceTagMapping> SdkPojo
- Enclosing class:
ResourceTagMapping
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceTagMapping.Builder
complianceDetails
(Consumer<ComplianceDetails.Builder> complianceDetails) Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.complianceDetails
(ComplianceDetails complianceDetails) Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.resourceARN
(String resourceARN) The ARN of the resource.tags
(Collection<Tag> tags) The tags that have been applied to one or more Amazon Web Services resources.tags
(Consumer<Tag.Builder>... tags) The tags that have been applied to one or more Amazon Web Services resources.The tags that have been applied to one or more Amazon Web Services resources.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceARN
The ARN of the resource.
- Parameters:
resourceARN
- The ARN of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that have been applied to one or more Amazon Web Services resources.
- Parameters:
tags
- The tags that have been applied to one or more Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that have been applied to one or more Amazon Web Services resources.
- Parameters:
tags
- The tags that have been applied to one or more Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that have been applied to one or more Amazon Web Services resources.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceDetails
Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.
- Parameters:
complianceDetails
- Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceDetails
default ResourceTagMapping.Builder complianceDetails(Consumer<ComplianceDetails.Builder> complianceDetails) Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.
This is a convenience method that creates an instance of theComplianceDetails.Builder
avoiding the need to create one manually viaComplianceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomplianceDetails(ComplianceDetails)
.- Parameters:
complianceDetails
- a consumer that will call methods onComplianceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-