Package com.ibm.cloud.is.vpc.v1.model
Class CreateVpcOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateVpcOptions.Builder
-
- Enclosing class:
- CreateVpcOptions
public static class CreateVpcOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CreateVpcOptions.Builder
addressPrefixManagement(String addressPrefixManagement)
Set the addressPrefixManagement.CreateVpcOptions
build()
Builds a CreateVpcOptions.CreateVpcOptions.Builder
classicAccess(Boolean classicAccess)
Deprecated.this method is deprecated and may be removed in a future releaseCreateVpcOptions.Builder
dns(VPCDNSPrototype dns)
Set the dns.CreateVpcOptions.Builder
name(String name)
Set the name.CreateVpcOptions.Builder
resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.
-
-
-
Method Detail
-
build
public CreateVpcOptions build()
Builds a CreateVpcOptions.- Returns:
- the new CreateVpcOptions instance
-
addressPrefixManagement
public CreateVpcOptions.Builder addressPrefixManagement(String addressPrefixManagement)
Set the addressPrefixManagement.- Parameters:
addressPrefixManagement
- the addressPrefixManagement- Returns:
- the CreateVpcOptions builder
-
classicAccess
@Deprecated public CreateVpcOptions.Builder classicAccess(Boolean classicAccess)
Deprecated.this method is deprecated and may be removed in a future releaseSet the classicAccess.- Parameters:
classicAccess
- the classicAccess- Returns:
- the CreateVpcOptions builder
-
dns
public CreateVpcOptions.Builder dns(VPCDNSPrototype dns)
Set the dns.- Parameters:
dns
- the dns- Returns:
- the CreateVpcOptions builder
-
name
public CreateVpcOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateVpcOptions builder
-
resourceGroup
public CreateVpcOptions.Builder resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the CreateVpcOptions builder
-
-