Class HostKeyReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.transfer.HostKeyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HostKeyReference>
- Enclosing interface:
HostKeyReference
@Stability(Stable)
public static final class HostKeyReference.Builder
extends Object
implements software.amazon.jsii.Builder<HostKeyReference>
A builder for
HostKeyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostKeyArn(String hostKeyArn) Sets the value ofHostKeyReference.getHostKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostKeyArn
Sets the value ofHostKeyReference.getHostKeyArn()- Parameters:
hostKeyArn- The Arn of the HostKey resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HostKeyReference>- Returns:
- a new instance of
HostKeyReference - Throws:
NullPointerException- if any required attribute was not provided
-