public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
| Modifier and Type | Method and Description |
|---|---|
Resource.Builder |
id(String id)
The resource's identifier.
|
Resource.Builder |
parentId(String parentId)
The parent resource's identifier.
|
Resource.Builder |
path(String path)
The full path for this resource.
|
Resource.Builder |
pathPart(String pathPart)
The last path segment for this resource.
|
Resource.Builder |
resourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResource.Builder id(String id)
The resource's identifier.
id - The resource's identifier.Resource.Builder parentId(String parentId)
The parent resource's identifier.
parentId - The parent resource's identifier.Resource.Builder pathPart(String pathPart)
The last path segment for this resource.
pathPart - The last path segment for this resource.Resource.Builder path(String path)
The full path for this resource.
path - The full path for this resource.Resource.Builder resourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
resourceMethods - Gets an API resource's method of a given HTTP verb.Copyright © 2023. All rights reserved.