Interface Resource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,Resource>,SdkBuilder<Resource.Builder,Resource>,SdkPojo
- Enclosing class:
- Resource
public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource.Resource.BuilderdetailUrl(String detailUrl)The URL to the resource's detail page.Resource.Builderid(String id)The unique identifier for the resource.Resource.Buildertags(String... tags)A map of tags assigned to a resource.Resource.Buildertags(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 Detail
-
id
Resource.Builder id(String 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
Resource.Builder arn(String 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
Resource.Builder detailUrl(String 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
Resource.Builder tags(Collection<String> 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
Resource.Builder tags(String... 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.
-
-