Interface GetPublicKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPublicKeyResponse.Builder,,GetPublicKeyResponse> IvsRealTimeResponse.Builder,SdkBuilder<GetPublicKeyResponse.Builder,,GetPublicKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPublicKeyResponse
public static interface GetPublicKeyResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<GetPublicKeyResponse.Builder,GetPublicKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPublicKeyResponse.BuilderpublicKey(Consumer<PublicKey.Builder> publicKey) The public key that is returned.The public key that is returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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
-
publicKey
The public key that is returned.
- Parameters:
publicKey- The public key that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKey
The public key that is returned.
This is a convenience method that creates an instance of thePublicKey.Builderavoiding the need to create one manually viaPublicKey.builder().When the
Consumercompletes,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:
-