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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSecurityKeysResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.ListSecurityKeysResponse.BuildersecurityKeys(Collection<SecurityKey> securityKeys)The security keys.ListSecurityKeysResponse.BuildersecurityKeys(Consumer<SecurityKey.Builder>... securityKeys)The security keys.ListSecurityKeysResponse.BuildersecurityKeys(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 Detail
-
securityKeys
ListSecurityKeysResponse.Builder securityKeys(Collection<SecurityKey> 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
ListSecurityKeysResponse.Builder securityKeys(SecurityKey... 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
ListSecurityKeysResponse.Builder securityKeys(Consumer<SecurityKey.Builder>... securityKeys)
The security keys.
This is a convenience method that creates an instance of theSecurityKey.Builderavoiding the need to create one manually viaSecurityKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#securityKeys(List.) - 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:
#securityKeys(java.util.Collection)
-
nextToken
ListSecurityKeysResponse.Builder nextToken(String 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.
-
-