Interface ListObjectParentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<ListObjectParentsResponse.Builder,,ListObjectParentsResponse> SdkBuilder<ListObjectParentsResponse.Builder,,ListObjectParentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListObjectParentsResponse
public static interface ListObjectParentsResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListObjectParentsResponse.Builder,ListObjectParentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token.parentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks) Returns a list of parent reference and LinkName Tuples.parentLinks(Consumer<ObjectIdentifierAndLinkNameTuple.Builder>... parentLinks) Returns a list of parent reference and LinkName Tuples.parentLinks(ObjectIdentifierAndLinkNameTuple... parentLinks) Returns a list of parent reference and LinkName Tuples.The parent structure, which is a map with key as theObjectIdentifierand LinkName as the value.Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
parents
The parent structure, which is a map with key as the
ObjectIdentifierand LinkName as the value.- Parameters:
parents- The parent structure, which is a map with key as theObjectIdentifierand LinkName as the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentLinks
ListObjectParentsResponse.Builder parentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks) Returns a list of parent reference and LinkName Tuples.
- Parameters:
parentLinks- Returns a list of parent reference and LinkName Tuples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentLinks
Returns a list of parent reference and LinkName Tuples.
- Parameters:
parentLinks- Returns a list of parent reference and LinkName Tuples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentLinks
ListObjectParentsResponse.Builder parentLinks(Consumer<ObjectIdentifierAndLinkNameTuple.Builder>... parentLinks) Returns a list of parent reference and LinkName Tuples.
This is a convenience method that creates an instance of theObjectIdentifierAndLinkNameTuple.Builderavoiding the need to create one manually viaObjectIdentifierAndLinkNameTuple.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparentLinks(List<ObjectIdentifierAndLinkNameTuple>).- Parameters:
parentLinks- a consumer that will call methods onObjectIdentifierAndLinkNameTuple.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-