Interface ListStorageLensGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStorageLensGroupsResponse.Builder,
,ListStorageLensGroupsResponse> S3ControlResponse.Builder
,SdkBuilder<ListStorageLensGroupsResponse.Builder,
,ListStorageLensGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStorageLensGroupsResponse
public static interface ListStorageLensGroupsResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListStorageLensGroupsResponse.Builder,ListStorageLensGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIfNextToken
is returned, there are more Storage Lens groups results available.storageLensGroupList
(Collection<ListStorageLensGroupEntry> storageLensGroupList) The list of Storage Lens groups that exist in the specified home Region.storageLensGroupList
(Consumer<ListStorageLensGroupEntry.Builder>... storageLensGroupList) The list of Storage Lens groups that exist in the specified home Region.storageLensGroupList
(ListStorageLensGroupEntry... storageLensGroupList) The list of Storage Lens groups that exist in the specified home Region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
nextToken
If
NextToken
is returned, there are more Storage Lens groups results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.- Parameters:
nextToken
- IfNextToken
is returned, there are more Storage Lens groups results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroupList
ListStorageLensGroupsResponse.Builder storageLensGroupList(Collection<ListStorageLensGroupEntry> storageLensGroupList) The list of Storage Lens groups that exist in the specified home Region.
- Parameters:
storageLensGroupList
- The list of Storage Lens groups that exist in the specified home Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroupList
ListStorageLensGroupsResponse.Builder storageLensGroupList(ListStorageLensGroupEntry... storageLensGroupList) The list of Storage Lens groups that exist in the specified home Region.
- Parameters:
storageLensGroupList
- The list of Storage Lens groups that exist in the specified home Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroupList
ListStorageLensGroupsResponse.Builder storageLensGroupList(Consumer<ListStorageLensGroupEntry.Builder>... storageLensGroupList) The list of Storage Lens groups that exist in the specified home Region.
This is a convenience method that creates an instance of theListStorageLensGroupEntry.Builder
avoiding the need to create one manually viaListStorageLensGroupEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageLensGroupList(List<ListStorageLensGroupEntry>)
.- Parameters:
storageLensGroupList
- a consumer that will call methods onListStorageLensGroupEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-