Class CfnOdbNetworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnOdbNetworkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOdbNetworkProps>
- Enclosing interface:
CfnOdbNetworkProps
@Stability(Stable)
public static final class CfnOdbNetworkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOdbNetworkProps>
A builder for
CfnOdbNetworkProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) Sets the value ofCfnOdbNetworkProps.getAvailabilityZone()
availabilityZoneId
(String availabilityZoneId) Sets the value ofCfnOdbNetworkProps.getAvailabilityZoneId()
backupSubnetCidr
(String backupSubnetCidr) Sets the value ofCfnOdbNetworkProps.getBackupSubnetCidr()
build()
Builds the configured instance.clientSubnetCidr
(String clientSubnetCidr) Sets the value ofCfnOdbNetworkProps.getClientSubnetCidr()
defaultDnsPrefix
(String defaultDnsPrefix) Sets the value ofCfnOdbNetworkProps.getDefaultDnsPrefix()
deleteAssociatedResources
(Boolean deleteAssociatedResources) Sets the value ofCfnOdbNetworkProps.getDeleteAssociatedResources()
deleteAssociatedResources
(IResolvable deleteAssociatedResources) Sets the value ofCfnOdbNetworkProps.getDeleteAssociatedResources()
displayName
(String displayName) Sets the value ofCfnOdbNetworkProps.getDisplayName()
Sets the value ofCfnOdbNetworkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
Sets the value ofCfnOdbNetworkProps.getAvailabilityZone()
- Parameters:
availabilityZone
- The Availability Zone (AZ) where the ODB network is located. Required when creating an ODB network. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the network.- Returns:
this
-
availabilityZoneId
Sets the value ofCfnOdbNetworkProps.getAvailabilityZoneId()
- Parameters:
availabilityZoneId
- The AZ ID of the AZ where the ODB network is located. Required when creating an ODB network. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the network.- Returns:
this
-
backupSubnetCidr
Sets the value ofCfnOdbNetworkProps.getBackupSubnetCidr()
- Parameters:
backupSubnetCidr
- The CIDR range of the backup subnet in the ODB network.- Returns:
this
-
clientSubnetCidr
Sets the value ofCfnOdbNetworkProps.getClientSubnetCidr()
- Parameters:
clientSubnetCidr
- The CIDR range of the client subnet in the ODB network. Required when creating an ODB network.- Returns:
this
-
defaultDnsPrefix
Sets the value ofCfnOdbNetworkProps.getDefaultDnsPrefix()
- Parameters:
defaultDnsPrefix
- The DNS prefix to the default DNS domain name. The default DNS domain name is oraclevcn.com.- Returns:
this
-
deleteAssociatedResources
@Stability(Stable) public CfnOdbNetworkProps.Builder deleteAssociatedResources(Boolean deleteAssociatedResources) Sets the value ofCfnOdbNetworkProps.getDeleteAssociatedResources()
- Parameters:
deleteAssociatedResources
- Specifies whether to delete associated OCI networking resources along with the ODB network. Required when creating an ODB network.- Returns:
this
-
deleteAssociatedResources
@Stability(Stable) public CfnOdbNetworkProps.Builder deleteAssociatedResources(IResolvable deleteAssociatedResources) Sets the value ofCfnOdbNetworkProps.getDeleteAssociatedResources()
- Parameters:
deleteAssociatedResources
- Specifies whether to delete associated OCI networking resources along with the ODB network. Required when creating an ODB network.- Returns:
this
-
displayName
Sets the value ofCfnOdbNetworkProps.getDisplayName()
- Parameters:
displayName
- The user-friendly name of the ODB network. Required when creating an ODB network.- Returns:
this
-
tags
Sets the value ofCfnOdbNetworkProps.getTags()
- Parameters:
tags
- Tags to assign to the Odb Network.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOdbNetworkProps>
- Returns:
- a new instance of
CfnOdbNetworkProps
- Throws:
NullPointerException
- if any required attribute was not provided
-