Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
@Mutable
@NotThreadSafe
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource.The URL to the resource's detail page.The unique identifier for the resource.A map of tags assigned to a resource.tags
(Collection<String> tags) A map of tags assigned to a resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier for the resource.
At least one id or ARN is required.
- Parameters:
id
- The unique identifier for the resource.At least one id or ARN is required.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the resource. At least one id or ARN is required.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the resource. At least one id or ARN is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailUrl
The URL to the resource's detail page. If a detail page URL is unavailable, it is the URL to an informational page that describes the resource's type.
- Parameters:
detailUrl
- The URL to the resource's detail page. If a detail page URL is unavailable, it is the URL to an informational page that describes the resource's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
- Parameters:
tags
- A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
- Parameters:
tags
- A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-