Interface DescribeInstancesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>, OpsWorksRequest.Builder, SdkBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeInstancesRequest

public static interface DescribeInstancesRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
  • Method Details

    • stackId

      A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.

      Parameters:
      stackId - A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layerId

      A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.

      Parameters:
      layerId - A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIds

      An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.

      Parameters:
      instanceIds - An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIds

      DescribeInstancesRequest.Builder instanceIds(String... instanceIds)

      An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.

      Parameters:
      instanceIds - An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeInstancesRequest.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.