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 resource's identifier.The parent resource's identifier.The full path for this resource.The last path segment for this resource.resourceMethods(Map<String, Method> resourceMethods) Gets an API resource's method of a given HTTP verb.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
-
id
The resource's identifier.
- Parameters:
id- The resource's identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentId
The parent resource's identifier.
- Parameters:
parentId- The parent resource's identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathPart
The last path segment for this resource.
- Parameters:
pathPart- The last path segment for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The full path for this resource.
- Parameters:
path- The full path for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMethods
Gets an API resource's method of a given HTTP verb.
- Parameters:
resourceMethods- Gets an API resource's method of a given HTTP verb.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-