Interface ListCredentialLockersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCredentialLockersResponse.Builder,
,ListCredentialLockersResponse> IotManagedIntegrationsResponse.Builder
,SdkBuilder<ListCredentialLockersResponse.Builder,
,ListCredentialLockersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCredentialLockersResponse
@Mutable
@NotThreadSafe
public static interface ListCredentialLockersResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<ListCredentialLockersResponse.Builder,ListCredentialLockersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<CredentialLockerSummary> items) The list of credential lockers.items
(Consumer<CredentialLockerSummary.Builder>... items) The list of credential lockers.items
(CredentialLockerSummary... items) The list of credential lockers.A token that can be used to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of credential lockers.
- Parameters:
items
- The list of credential lockers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of credential lockers.
- Parameters:
items
- The list of credential lockers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of credential lockers.
This is a convenience method that creates an instance of theCredentialLockerSummary.Builder
avoiding the need to create one manually viaCredentialLockerSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<CredentialLockerSummary>)
.- Parameters:
items
- a consumer that will call methods onCredentialLockerSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that can be used to retrieve the next set of results.
- Parameters:
nextToken
- A token that can be used to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-