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 TypeMethodDescriptionawsAccountId(String awsAccountId) The AWS account ID that owns the resource.The AWS Region where the resource is located.identifier(String identifier) The identifier of the resource.resourceType(String resourceType) The type of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The identifier of the resource.
- Parameters:
identifier- The identifier of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The AWS Region where the resource is located.
- Parameters:
awsRegion- The AWS Region where the resource is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The AWS account ID that owns the resource.
- Parameters:
awsAccountId- The AWS account ID that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource.
- Parameters:
resourceType- The type of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-