Package com.ibm.cloud.is.vpc.v1.model
Class ListSubnetsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ListSubnetsOptions.Builder
-
- Enclosing class:
- ListSubnetsOptions
public static class ListSubnetsOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSubnetsOptionsbuild()Builds a ListSubnetsOptions.ListSubnetsOptions.Builderlimit(long limit)Set the limit.ListSubnetsOptions.BuilderresourceGroupId(String resourceGroupId)Set the resourceGroupId.ListSubnetsOptions.BuilderroutingTableId(String routingTableId)Set the routingTableId.ListSubnetsOptions.BuilderroutingTableName(String routingTableName)Set the routingTableName.ListSubnetsOptions.Builderstart(String start)Set the start.ListSubnetsOptions.BuildervpcCrn(String vpcCrn)Set the vpcCrn.ListSubnetsOptions.BuildervpcId(String vpcId)Set the vpcId.ListSubnetsOptions.BuildervpcName(String vpcName)Set the vpcName.ListSubnetsOptions.BuilderzoneName(String zoneName)Set the zoneName.
-
-
-
Method Detail
-
build
public ListSubnetsOptions build()
Builds a ListSubnetsOptions.- Returns:
- the new ListSubnetsOptions instance
-
start
public ListSubnetsOptions.Builder start(String start)
Set the start.- Parameters:
start- the start- Returns:
- the ListSubnetsOptions builder
-
limit
public ListSubnetsOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit- the limit- Returns:
- the ListSubnetsOptions builder
-
resourceGroupId
public ListSubnetsOptions.Builder resourceGroupId(String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId- the resourceGroupId- Returns:
- the ListSubnetsOptions builder
-
zoneName
public ListSubnetsOptions.Builder zoneName(String zoneName)
Set the zoneName.- Parameters:
zoneName- the zoneName- Returns:
- the ListSubnetsOptions builder
-
vpcId
public ListSubnetsOptions.Builder vpcId(String vpcId)
Set the vpcId.- Parameters:
vpcId- the vpcId- Returns:
- the ListSubnetsOptions builder
-
vpcCrn
public ListSubnetsOptions.Builder vpcCrn(String vpcCrn)
Set the vpcCrn.- Parameters:
vpcCrn- the vpcCrn- Returns:
- the ListSubnetsOptions builder
-
vpcName
public ListSubnetsOptions.Builder vpcName(String vpcName)
Set the vpcName.- Parameters:
vpcName- the vpcName- Returns:
- the ListSubnetsOptions builder
-
routingTableId
public ListSubnetsOptions.Builder routingTableId(String routingTableId)
Set the routingTableId.- Parameters:
routingTableId- the routingTableId- Returns:
- the ListSubnetsOptions builder
-
routingTableName
public ListSubnetsOptions.Builder routingTableName(String routingTableName)
Set the routingTableName.- Parameters:
routingTableName- the routingTableName- Returns:
- the ListSubnetsOptions builder
-
-