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