Interface ListInstancesRequest.Builder

  • Method Details

    • clusterId

      ListInstancesRequest.Builder clusterId(String clusterId)

      The identifier of the cluster for which to list the instances.

      Parameters:
      clusterId - The identifier of the cluster for which to list the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceGroupId

      ListInstancesRequest.Builder instanceGroupId(String instanceGroupId)

      The identifier of the instance group for which to list the instances.

      Parameters:
      instanceGroupId - The identifier of the instance group for which to list the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceGroupTypesWithStrings

      ListInstancesRequest.Builder instanceGroupTypesWithStrings(Collection<String> instanceGroupTypes)

      The type of instance group for which to list the instances.

      Parameters:
      instanceGroupTypes - The type of instance group for which to list the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceGroupTypesWithStrings

      ListInstancesRequest.Builder instanceGroupTypesWithStrings(String... instanceGroupTypes)

      The type of instance group for which to list the instances.

      Parameters:
      instanceGroupTypes - The type of instance group for which to list the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceGroupTypes

      ListInstancesRequest.Builder instanceGroupTypes(Collection<InstanceGroupType> instanceGroupTypes)

      The type of instance group for which to list the instances.

      Parameters:
      instanceGroupTypes - The type of instance group for which to list the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceGroupTypes

      ListInstancesRequest.Builder instanceGroupTypes(InstanceGroupType... instanceGroupTypes)

      The type of instance group for which to list the instances.

      Parameters:
      instanceGroupTypes - The type of instance group for which to list the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFleetId

      ListInstancesRequest.Builder instanceFleetId(String instanceFleetId)

      The unique identifier of the instance fleet.

      Parameters:
      instanceFleetId - The unique identifier of the instance fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFleetType

      ListInstancesRequest.Builder instanceFleetType(String instanceFleetType)

      The node type of the instance fleet. For example MASTER, CORE, or TASK.

      Parameters:
      instanceFleetType - The node type of the instance fleet. For example MASTER, CORE, or TASK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceFleetType

      ListInstancesRequest.Builder instanceFleetType(InstanceFleetType instanceFleetType)

      The node type of the instance fleet. For example MASTER, CORE, or TASK.

      Parameters:
      instanceFleetType - The node type of the instance fleet. For example MASTER, CORE, or TASK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceStatesWithStrings

      ListInstancesRequest.Builder instanceStatesWithStrings(Collection<String> instanceStates)

      A list of instance states that will filter the instances returned with this request.

      Parameters:
      instanceStates - A list of instance states that will filter the instances returned with this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceStatesWithStrings

      ListInstancesRequest.Builder instanceStatesWithStrings(String... instanceStates)

      A list of instance states that will filter the instances returned with this request.

      Parameters:
      instanceStates - A list of instance states that will filter the instances returned with this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceStates

      ListInstancesRequest.Builder instanceStates(Collection<InstanceState> instanceStates)

      A list of instance states that will filter the instances returned with this request.

      Parameters:
      instanceStates - A list of instance states that will filter the instances returned with this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceStates

      ListInstancesRequest.Builder instanceStates(InstanceState... instanceStates)

      A list of instance states that will filter the instances returned with this request.

      Parameters:
      instanceStates - A list of instance states that will filter the instances returned with this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marker

      The pagination token that indicates the next set of results to retrieve.

      Parameters:
      marker - The pagination token that indicates the next set of results to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.