Interface CfnDisk.LocationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDisk.LocationProperty.Jsii$Proxy
- Enclosing class:
CfnDisk
@Stability(Stable)
public static interface CfnDisk.LocationProperty
extends software.amazon.jsii.JsiiSerializable
The AWS Region and Availability Zone where the disk is located.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lightsail.*; LocationProperty locationProperty = LocationProperty.builder() .availabilityZone("availabilityZone") .regionName("regionName") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDisk.LocationProperty
static final class
An implementation forCfnDisk.LocationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZone
The Availability Zone where the disk is located.- See Also:
-
getRegionName
The AWS Region where the disk is located.- See Also:
-
builder
- Returns:
- a
CfnDisk.LocationProperty.Builder
ofCfnDisk.LocationProperty
-