Package com.ibm.cloud.is.vpc.v1.model
Class ListSubnetReservedIpsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ListSubnetReservedIpsOptions.Builder
-
- Enclosing class:
- ListSubnetReservedIpsOptions
public static class ListSubnetReservedIpsOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSubnetReservedIpsOptions
build()
Builds a ListSubnetReservedIpsOptions.ListSubnetReservedIpsOptions.Builder
limit(long limit)
Set the limit.ListSubnetReservedIpsOptions.Builder
sort(String sort)
Set the sort.ListSubnetReservedIpsOptions.Builder
start(String start)
Set the start.ListSubnetReservedIpsOptions.Builder
subnetId(String subnetId)
Set the subnetId.ListSubnetReservedIpsOptions.Builder
targetCrn(String targetCrn)
Set the targetCrn.ListSubnetReservedIpsOptions.Builder
targetId(String targetId)
Set the targetId.ListSubnetReservedIpsOptions.Builder
targetName(String targetName)
Set the targetName.ListSubnetReservedIpsOptions.Builder
targetResourceType(String targetResourceType)
Set the targetResourceType.
-
-
-
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 ListSubnetReservedIpsOptions build()
Builds a ListSubnetReservedIpsOptions.- Returns:
- the new ListSubnetReservedIpsOptions instance
-
subnetId
public ListSubnetReservedIpsOptions.Builder subnetId(String subnetId)
Set the subnetId.- Parameters:
subnetId
- the subnetId- Returns:
- the ListSubnetReservedIpsOptions builder
-
start
public ListSubnetReservedIpsOptions.Builder start(String start)
Set the start.- Parameters:
start
- the start- Returns:
- the ListSubnetReservedIpsOptions builder
-
limit
public ListSubnetReservedIpsOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the ListSubnetReservedIpsOptions builder
-
sort
public ListSubnetReservedIpsOptions.Builder sort(String sort)
Set the sort.- Parameters:
sort
- the sort- Returns:
- the ListSubnetReservedIpsOptions builder
-
targetId
public ListSubnetReservedIpsOptions.Builder targetId(String targetId)
Set the targetId.- Parameters:
targetId
- the targetId- Returns:
- the ListSubnetReservedIpsOptions builder
-
targetCrn
public ListSubnetReservedIpsOptions.Builder targetCrn(String targetCrn)
Set the targetCrn.- Parameters:
targetCrn
- the targetCrn- Returns:
- the ListSubnetReservedIpsOptions builder
-
targetName
public ListSubnetReservedIpsOptions.Builder targetName(String targetName)
Set the targetName.- Parameters:
targetName
- the targetName- Returns:
- the ListSubnetReservedIpsOptions builder
-
targetResourceType
public ListSubnetReservedIpsOptions.Builder targetResourceType(String targetResourceType)
Set the targetResourceType.- Parameters:
targetResourceType
- the targetResourceType- Returns:
- the ListSubnetReservedIpsOptions builder
-
-