Class ListInstancesOptions.Builder

java.lang.Object
com.ibm.cloud.is.vpc.v1.model.ListInstancesOptions.Builder
Enclosing class:
ListInstancesOptions

public static class ListInstancesOptions.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public ListInstancesOptions build()
      Builds a ListInstancesOptions.
      Returns:
      the new ListInstancesOptions instance
    • start

      public ListInstancesOptions.Builder start(String start)
      Set the start.
      Parameters:
      start - the start
      Returns:
      the ListInstancesOptions builder
    • limit

      public ListInstancesOptions.Builder limit(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the ListInstancesOptions builder
    • resourceGroupId

      public ListInstancesOptions.Builder resourceGroupId(String 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

      public ListInstancesOptions.Builder clusterNetworkId(String clusterNetworkId)
      Set the clusterNetworkId.
      Parameters:
      clusterNetworkId - the clusterNetworkId
      Returns:
      the ListInstancesOptions builder
    • clusterNetworkCrn

      public ListInstancesOptions.Builder clusterNetworkCrn(String clusterNetworkCrn)
      Set the clusterNetworkCrn.
      Parameters:
      clusterNetworkCrn - the clusterNetworkCrn
      Returns:
      the ListInstancesOptions builder
    • clusterNetworkName

      public ListInstancesOptions.Builder clusterNetworkName(String clusterNetworkName)
      Set the clusterNetworkName.
      Parameters:
      clusterNetworkName - the clusterNetworkName
      Returns:
      the ListInstancesOptions builder
    • dedicatedHostId

      public ListInstancesOptions.Builder dedicatedHostId(String dedicatedHostId)
      Set the dedicatedHostId.
      Parameters:
      dedicatedHostId - the dedicatedHostId
      Returns:
      the ListInstancesOptions builder
    • dedicatedHostCrn

      public ListInstancesOptions.Builder dedicatedHostCrn(String dedicatedHostCrn)
      Set the dedicatedHostCrn.
      Parameters:
      dedicatedHostCrn - the dedicatedHostCrn
      Returns:
      the ListInstancesOptions builder
    • dedicatedHostName

      public ListInstancesOptions.Builder dedicatedHostName(String dedicatedHostName)
      Set the dedicatedHostName.
      Parameters:
      dedicatedHostName - the dedicatedHostName
      Returns:
      the ListInstancesOptions builder
    • placementGroupId

      public ListInstancesOptions.Builder placementGroupId(String placementGroupId)
      Set the placementGroupId.
      Parameters:
      placementGroupId - the placementGroupId
      Returns:
      the ListInstancesOptions builder
    • placementGroupCrn

      public ListInstancesOptions.Builder placementGroupCrn(String placementGroupCrn)
      Set the placementGroupCrn.
      Parameters:
      placementGroupCrn - the placementGroupCrn
      Returns:
      the ListInstancesOptions builder
    • placementGroupName

      public ListInstancesOptions.Builder placementGroupName(String placementGroupName)
      Set the placementGroupName.
      Parameters:
      placementGroupName - the placementGroupName
      Returns:
      the ListInstancesOptions builder
    • reservationAffinityPolicy

      public ListInstancesOptions.Builder reservationAffinityPolicy(String reservationAffinityPolicy)
      Set the reservationAffinityPolicy.
      Parameters:
      reservationAffinityPolicy - the reservationAffinityPolicy
      Returns:
      the ListInstancesOptions builder
    • reservationId

      public ListInstancesOptions.Builder reservationId(String reservationId)
      Set the reservationId.
      Parameters:
      reservationId - the reservationId
      Returns:
      the ListInstancesOptions builder
    • reservationCrn

      public ListInstancesOptions.Builder reservationCrn(String reservationCrn)
      Set the reservationCrn.
      Parameters:
      reservationCrn - the reservationCrn
      Returns:
      the ListInstancesOptions builder
    • reservationName

      public ListInstancesOptions.Builder reservationName(String reservationName)
      Set the reservationName.
      Parameters:
      reservationName - the reservationName
      Returns:
      the ListInstancesOptions builder
    • vpcId

      public ListInstancesOptions.Builder vpcId(String vpcId)
      Set the vpcId.
      Parameters:
      vpcId - the vpcId
      Returns:
      the ListInstancesOptions builder
    • vpcCrn

      public ListInstancesOptions.Builder vpcCrn(String vpcCrn)
      Set the vpcCrn.
      Parameters:
      vpcCrn - the vpcCrn
      Returns:
      the ListInstancesOptions builder
    • vpcName

      public ListInstancesOptions.Builder vpcName(String vpcName)
      Set the vpcName.
      Parameters:
      vpcName - the vpcName
      Returns:
      the ListInstancesOptions builder