@Stability(value=Stable) public static final class CfnDiskProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDiskProps>
CfnDiskProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDiskProps.Builder |
addOns(IResolvable addOns)
Sets the value of
CfnDiskProps.getAddOns() |
CfnDiskProps.Builder |
addOns(List<? extends Object> addOns)
Sets the value of
CfnDiskProps.getAddOns() |
CfnDiskProps.Builder |
availabilityZone(String availabilityZone)
Sets the value of
CfnDiskProps.getAvailabilityZone() |
CfnDiskProps |
build()
Builds the configured instance.
|
CfnDiskProps.Builder |
diskName(String diskName)
Sets the value of
CfnDiskProps.getDiskName() |
CfnDiskProps.Builder |
sizeInGb(Number sizeInGb)
Sets the value of
CfnDiskProps.getSizeInGb() |
CfnDiskProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnDiskProps.getTags() |
@Stability(value=Stable) public CfnDiskProps.Builder addOns(IResolvable addOns)
CfnDiskProps.getAddOns()addOns - `AWS::Lightsail::Disk.AddOns`.this@Stability(value=Stable) public CfnDiskProps.Builder addOns(List<? extends Object> addOns)
CfnDiskProps.getAddOns()addOns - `AWS::Lightsail::Disk.AddOns`.this@Stability(value=Stable) public CfnDiskProps.Builder availabilityZone(String availabilityZone)
CfnDiskProps.getAvailabilityZone()availabilityZone - `AWS::Lightsail::Disk.AvailabilityZone`.this@Stability(value=Stable) public CfnDiskProps.Builder diskName(String diskName)
CfnDiskProps.getDiskName()diskName - `AWS::Lightsail::Disk.DiskName`. This parameter is required.this@Stability(value=Stable) public CfnDiskProps.Builder sizeInGb(Number sizeInGb)
CfnDiskProps.getSizeInGb()sizeInGb - `AWS::Lightsail::Disk.SizeInGb`. This parameter is required.this@Stability(value=Stable) public CfnDiskProps.Builder tags(List<? extends CfnTag> tags)
CfnDiskProps.getTags()tags - `AWS::Lightsail::Disk.Tags`.this@Stability(value=Stable) public CfnDiskProps build()
build in interface software.amazon.jsii.Builder<CfnDiskProps>CfnDiskPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.