Package com.ibm.cloud.is.vpc.v1.model
Class CreateSubnetReservedIpOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateSubnetReservedIpOptions.Builder
-
- Enclosing class:
- CreateSubnetReservedIpOptions
public static class CreateSubnetReservedIpOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSubnetReservedIpOptions.Builder
address(String address)
Set the address.CreateSubnetReservedIpOptions.Builder
autoDelete(Boolean autoDelete)
Set the autoDelete.CreateSubnetReservedIpOptions
build()
Builds a CreateSubnetReservedIpOptions.CreateSubnetReservedIpOptions.Builder
name(String name)
Set the name.CreateSubnetReservedIpOptions.Builder
subnetId(String subnetId)
Set the subnetId.CreateSubnetReservedIpOptions.Builder
target(ReservedIPTargetPrototype target)
Set the target.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String subnetId)
Instantiates a new builder with required properties.- Parameters:
subnetId
- the subnetId
-
-
Method Detail
-
build
public CreateSubnetReservedIpOptions build()
Builds a CreateSubnetReservedIpOptions.- Returns:
- the new CreateSubnetReservedIpOptions instance
-
subnetId
public CreateSubnetReservedIpOptions.Builder subnetId(String subnetId)
Set the subnetId.- Parameters:
subnetId
- the subnetId- Returns:
- the CreateSubnetReservedIpOptions builder
-
address
public CreateSubnetReservedIpOptions.Builder address(String address)
Set the address.- Parameters:
address
- the address- Returns:
- the CreateSubnetReservedIpOptions builder
-
autoDelete
public CreateSubnetReservedIpOptions.Builder autoDelete(Boolean autoDelete)
Set the autoDelete.- Parameters:
autoDelete
- the autoDelete- Returns:
- the CreateSubnetReservedIpOptions builder
-
name
public CreateSubnetReservedIpOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateSubnetReservedIpOptions builder
-
target
public CreateSubnetReservedIpOptions.Builder target(ReservedIPTargetPrototype target)
Set the target.- Parameters:
target
- the target- Returns:
- the CreateSubnetReservedIpOptions builder
-
-