public static interface ListLegalHoldsResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListLegalHoldsResponse.Builder,ListLegalHoldsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListLegalHoldsResponse.Builder |
legalHolds(Collection<LegalHold> legalHolds)
This is an array of returned legal holds, both active and previous.
|
ListLegalHoldsResponse.Builder |
legalHolds(Consumer<LegalHold.Builder>... legalHolds)
This is an array of returned legal holds, both active and previous.
|
ListLegalHoldsResponse.Builder |
legalHolds(LegalHold... legalHolds)
This is an array of returned legal holds, both active and previous.
|
ListLegalHoldsResponse.Builder |
nextToken(String nextToken)
The next item following a partial list of returned resources.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListLegalHoldsResponse.Builder nextToken(String nextToken)
The next item following a partial list of returned resources. For example, if a request is made to return
maxResults number of resources, NextToken allows you to return more items in your
list starting at the location pointed to by the next token.
nextToken - The next item following a partial list of returned resources. For example, if a request is made to
return maxResults number of resources, NextToken allows you to return more
items in your list starting at the location pointed to by the next token.ListLegalHoldsResponse.Builder legalHolds(Collection<LegalHold> legalHolds)
This is an array of returned legal holds, both active and previous.
legalHolds - This is an array of returned legal holds, both active and previous.ListLegalHoldsResponse.Builder legalHolds(LegalHold... legalHolds)
This is an array of returned legal holds, both active and previous.
legalHolds - This is an array of returned legal holds, both active and previous.ListLegalHoldsResponse.Builder legalHolds(Consumer<LegalHold.Builder>... legalHolds)
This is an array of returned legal holds, both active and previous.
This is a convenience method that creates an instance of theLegalHold.Builder avoiding the need to create one
manually via LegalHold.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #legalHolds(List.
legalHolds - a consumer that will call methods on
LegalHold.Builder#legalHolds(java.util.Collection) Copyright © 2023. All rights reserved.