Interface ImportPublicKeyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ImportPublicKeyResponse.Builder,ImportPublicKeyResponse>,IvsRealTimeResponse.Builder,SdkBuilder<ImportPublicKeyResponse.Builder,ImportPublicKeyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ImportPublicKeyResponse
public static interface ImportPublicKeyResponse.Builder extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ImportPublicKeyResponse.Builder,ImportPublicKeyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ImportPublicKeyResponse.BuilderpublicKey(Consumer<PublicKey.Builder> publicKey)The public key that was imported.ImportPublicKeyResponse.BuilderpublicKey(PublicKey publicKey)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 Detail
-
publicKey
ImportPublicKeyResponse.Builder publicKey(PublicKey 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
default ImportPublicKeyResponse.Builder publicKey(Consumer<PublicKey.Builder> publicKey)
The public key that was imported.
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:
publicKey(PublicKey)
-
-