@Stability(value=Stable)
public static interface CfnInstance.LocationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.LocationProperty.Builder
A builder for
CfnInstance.LocationProperty |
static class |
CfnInstance.LocationProperty.Jsii$Proxy
An implementation for
CfnInstance.LocationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.LocationProperty.Builder |
builder() |
default String |
getAvailabilityZone()
The Availability Zone for the instance.
|
default String |
getRegionName()
The name of the AWS Region for the instance.
|
@Stability(value=Stable) @Nullable default String getAvailabilityZone()
@Stability(value=Stable) @Nullable default String getRegionName()
@Stability(value=Stable) static CfnInstance.LocationProperty.Builder builder()
Copyright © 2022. All rights reserved.