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.Builderid(String id)The resource's identifier.Resource.BuilderparentId(String parentId)The parent resource's identifier.Resource.Builderpath(String path)The full path for this resource.Resource.BuilderpathPart(String pathPart)The last path segment for this resource.Resource.BuilderresourceMethods(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
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 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
Resource.Builder parentId(String 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
Resource.Builder pathPart(String 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
Resource.Builder path(String 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
Resource.Builder resourceMethods(Map<String,Method> 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.
-
-