Class ListInstancesOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.ListInstancesOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a ListInstancesOptions.clusterNetworkCrn
(String clusterNetworkCrn) Set the clusterNetworkCrn.clusterNetworkId
(String clusterNetworkId) Set the clusterNetworkId.clusterNetworkName
(String clusterNetworkName) Set the clusterNetworkName.dedicatedHostCrn
(String dedicatedHostCrn) Set the dedicatedHostCrn.dedicatedHostId
(String dedicatedHostId) Set the dedicatedHostId.dedicatedHostName
(String dedicatedHostName) Set the dedicatedHostName.limit
(long limit) Set the limit.Set the name.placementGroupCrn
(String placementGroupCrn) Set the placementGroupCrn.placementGroupId
(String placementGroupId) Set the placementGroupId.placementGroupName
(String placementGroupName) Set the placementGroupName.reservationAffinityPolicy
(String reservationAffinityPolicy) Set the reservationAffinityPolicy.reservationCrn
(String reservationCrn) Set the reservationCrn.reservationId
(String reservationId) Set the reservationId.reservationName
(String reservationName) Set the reservationName.resourceGroupId
(String resourceGroupId) Set the resourceGroupId.Set the start.Set the vpcCrn.Set the vpcId.Set the vpcName.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ListInstancesOptions.- Returns:
- the new ListInstancesOptions instance
-
start
Set the start.- Parameters:
start
- the start- Returns:
- the ListInstancesOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the ListInstancesOptions builder
-
resourceGroupId
Set the resourceGroupId.- Parameters:
resourceGroupId
- the resourceGroupId- Returns:
- the ListInstancesOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the ListInstancesOptions builder
-
clusterNetworkId
Set the clusterNetworkId.- Parameters:
clusterNetworkId
- the clusterNetworkId- Returns:
- the ListInstancesOptions builder
-
clusterNetworkCrn
Set the clusterNetworkCrn.- Parameters:
clusterNetworkCrn
- the clusterNetworkCrn- Returns:
- the ListInstancesOptions builder
-
clusterNetworkName
Set the clusterNetworkName.- Parameters:
clusterNetworkName
- the clusterNetworkName- Returns:
- the ListInstancesOptions builder
-
dedicatedHostId
Set the dedicatedHostId.- Parameters:
dedicatedHostId
- the dedicatedHostId- Returns:
- the ListInstancesOptions builder
-
dedicatedHostCrn
Set the dedicatedHostCrn.- Parameters:
dedicatedHostCrn
- the dedicatedHostCrn- Returns:
- the ListInstancesOptions builder
-
dedicatedHostName
Set the dedicatedHostName.- Parameters:
dedicatedHostName
- the dedicatedHostName- Returns:
- the ListInstancesOptions builder
-
placementGroupId
Set the placementGroupId.- Parameters:
placementGroupId
- the placementGroupId- Returns:
- the ListInstancesOptions builder
-
placementGroupCrn
Set the placementGroupCrn.- Parameters:
placementGroupCrn
- the placementGroupCrn- Returns:
- the ListInstancesOptions builder
-
placementGroupName
Set the placementGroupName.- Parameters:
placementGroupName
- the placementGroupName- Returns:
- the ListInstancesOptions builder
-
reservationAffinityPolicy
Set the reservationAffinityPolicy.- Parameters:
reservationAffinityPolicy
- the reservationAffinityPolicy- Returns:
- the ListInstancesOptions builder
-
reservationId
Set the reservationId.- Parameters:
reservationId
- the reservationId- Returns:
- the ListInstancesOptions builder
-
reservationCrn
Set the reservationCrn.- Parameters:
reservationCrn
- the reservationCrn- Returns:
- the ListInstancesOptions builder
-
reservationName
Set the reservationName.- Parameters:
reservationName
- the reservationName- Returns:
- the ListInstancesOptions builder
-
vpcId
Set the vpcId.- Parameters:
vpcId
- the vpcId- Returns:
- the ListInstancesOptions builder
-
vpcCrn
Set the vpcCrn.- Parameters:
vpcCrn
- the vpcCrn- Returns:
- the ListInstancesOptions builder
-
vpcName
Set the vpcName.- Parameters:
vpcName
- the vpcName- Returns:
- the ListInstancesOptions builder
-