Interface HostReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HostReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.675Z")
@Stability(Stable)
public interface HostReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Host resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;
HostReference hostReference = HostReference.builder()
.hostId("hostId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHostReferencestatic final classAn implementation forHostReference -
Method Summary
Modifier and TypeMethodDescriptionstatic HostReference.Builderbuilder()The HostId of the Host resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostId
The HostId of the Host resource. -
builder
- Returns:
- a
HostReference.BuilderofHostReference
-