Package com.ibm.cloud.is.vpc.v1.model
Class CreateVpcDnsResolutionBindingOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateVpcDnsResolutionBindingOptions.Builder
-
- Enclosing class:
- CreateVpcDnsResolutionBindingOptions
public static class CreateVpcDnsResolutionBindingOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String vpcId, VPCIdentity vpc)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpcDnsResolutionBindingOptions
build()
Builds a CreateVpcDnsResolutionBindingOptions.CreateVpcDnsResolutionBindingOptions.Builder
name(String name)
Set the name.CreateVpcDnsResolutionBindingOptions.Builder
vpc(VPCIdentity vpc)
Set the vpc.CreateVpcDnsResolutionBindingOptions.Builder
vpcId(String vpcId)
Set the vpcId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String vpcId, VPCIdentity vpc)
Instantiates a new builder with required properties.- Parameters:
vpcId
- the vpcIdvpc
- the vpc
-
-
Method Detail
-
build
public CreateVpcDnsResolutionBindingOptions build()
Builds a CreateVpcDnsResolutionBindingOptions.- Returns:
- the new CreateVpcDnsResolutionBindingOptions instance
-
vpcId
public CreateVpcDnsResolutionBindingOptions.Builder vpcId(String vpcId)
Set the vpcId.- Parameters:
vpcId
- the vpcId- Returns:
- the CreateVpcDnsResolutionBindingOptions builder
-
vpc
public CreateVpcDnsResolutionBindingOptions.Builder vpc(VPCIdentity vpc)
Set the vpc.- Parameters:
vpc
- the vpc- Returns:
- the CreateVpcDnsResolutionBindingOptions builder
-
name
public CreateVpcDnsResolutionBindingOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateVpcDnsResolutionBindingOptions builder
-
-