Interface GetInstanceResponse.Builder

  • Method Details

    • resourceOwner

      GetInstanceResponse.Builder resourceOwner(String resourceOwner)

      The ID of the Amazon Web Services account that created the namespace that contains the service that the instance is associated with. If this isn't your account ID, it's the ID of the account that shared the namespace with your account.

      Parameters:
      resourceOwner - The ID of the Amazon Web Services account that created the namespace that contains the service that the instance is associated with. If this isn't your account ID, it's the ID of the account that shared the namespace with your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instance

      A complex type that contains information about a specified instance.

      Parameters:
      instance - A complex type that contains information about a specified instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instance

      A complex type that contains information about a specified instance.

      This is a convenience method that creates an instance of the Instance.Builder avoiding the need to create one manually via Instance.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instance(Instance).

      Parameters:
      instance - a consumer that will call methods on Instance.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: