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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListObjectParentsResponse.BuildernextToken(String nextToken)The pagination token.ListObjectParentsResponse.BuilderparentLinks(Collection<ObjectIdentifierAndLinkNameTuple> parentLinks)Returns a list of parent reference and LinkName Tuples.ListObjectParentsResponse.BuilderparentLinks(Consumer<ObjectIdentifierAndLinkNameTuple.Builder>... parentLinks)Returns a list of parent reference and LinkName Tuples.ListObjectParentsResponse.BuilderparentLinks(ObjectIdentifierAndLinkNameTuple... parentLinks)Returns a list of parent reference and LinkName Tuples.ListObjectParentsResponse.Builderparents(Map<String,String> parents)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, responseMetadata
-
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
-
-
-
-
Method Detail
-
parents
ListObjectParentsResponse.Builder parents(Map<String,String> 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
ListObjectParentsResponse.Builder nextToken(String 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
ListObjectParentsResponse.Builder parentLinks(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
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 to#parentLinks(List.) - 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:
#parentLinks(java.util.Collection)
-
-