Interface GetDocumentPathResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDocumentPathResponse.Builder,GetDocumentPathResponse>
,SdkBuilder<GetDocumentPathResponse.Builder,GetDocumentPathResponse>
,SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
- GetDocumentPathResponse
public static interface GetDocumentPathResponse.Builder extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentPathResponse.Builder,GetDocumentPathResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDocumentPathResponse.Builder
path(Consumer<ResourcePath.Builder> path)
The path information.GetDocumentPathResponse.Builder
path(ResourcePath path)
The path information.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
path
GetDocumentPathResponse.Builder path(ResourcePath path)
The path information.
- Parameters:
path
- The path information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
default GetDocumentPathResponse.Builder path(Consumer<ResourcePath.Builder> path)
The path information.
This is a convenience method that creates an instance of theResourcePath.Builder
avoiding the need to create one manually viaResourcePath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topath(ResourcePath)
.- Parameters:
path
- a consumer that will call methods onResourcePath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
path(ResourcePath)
-
-