Interface ListSecurityKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<ListSecurityKeysResponse.Builder,
,ListSecurityKeysResponse> SdkBuilder<ListSecurityKeysResponse.Builder,
,ListSecurityKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSecurityKeysResponse
public static interface ListSecurityKeysResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListSecurityKeysResponse.Builder,ListSecurityKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.securityKeys
(Collection<SecurityKey> securityKeys) The security keys.securityKeys
(Consumer<SecurityKey.Builder>... securityKeys) The security keys.securityKeys
(SecurityKey... securityKeys) The security keys.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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 Details
-
securityKeys
The security keys.
- Parameters:
securityKeys
- The security keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityKeys
The security keys.
- Parameters:
securityKeys
- The security keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityKeys
The security keys.
This is a convenience method that creates an instance of theSecurityKey.Builder
avoiding the need to create one manually viaSecurityKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityKeys(List<SecurityKey>)
.- Parameters:
securityKeys
- a consumer that will call methods onSecurityKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-