Interface ImportPublicKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ImportPublicKeyResponse.Builder,
,ImportPublicKeyResponse> IvsRealTimeResponse.Builder
,SdkBuilder<ImportPublicKeyResponse.Builder,
,ImportPublicKeyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ImportPublicKeyResponse
@Mutable
@NotThreadSafe
public static interface ImportPublicKeyResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ImportPublicKeyResponse.Builder,ImportPublicKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImportPublicKeyResponse.Builder
publicKey
(Consumer<PublicKey.Builder> publicKey) The public key that was imported.The public key that was imported.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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
-
publicKey
The public key that was imported.
- Parameters:
publicKey
- The public key that was imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKey
The public key that was imported.
This is a convenience method that creates an instance of thePublicKey.Builder
avoiding the need to create one manually viaPublicKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicKey(PublicKey)
.- Parameters:
publicKey
- a consumer that will call methods onPublicKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-