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