Interface ListStorageLensGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStorageLensGroupsResponse.Builder,,ListStorageLensGroupsResponse> S3ControlResponse.Builder,SdkBuilder<ListStorageLensGroupsResponse.Builder,,ListStorageLensGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStorageLensGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListStorageLensGroupsResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListStorageLensGroupsResponse.Builder,ListStorageLensGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIfNextTokenis 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
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If
NextTokenis returned, there are more Storage Lens groups results available. The value ofNextTokenis 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- IfNextTokenis returned, there are more Storage Lens groups results available. The value ofNextTokenis 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.Builderavoiding the need to create one manually viaListStorageLensGroupEntry.builder().When the
Consumercompletes,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:
-