Interface ListNamespacesResponse.Builder

  • Method Details

    • namespaces

      The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

      Parameters:
      namespaces - The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

      Parameters:
      namespaces - The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to namespaces(List<NamespaceInfoV2>).

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

      ListNamespacesResponse.Builder nextToken(String nextToken)

      A unique pagination token that can be used in a subsequent request. Receiving NextToken in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

      Parameters:
      nextToken - A unique pagination token that can be used in a subsequent request. Receiving NextToken in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      ListNamespacesResponse.Builder requestId(String requestId)

      The Amazon Web Services request ID for this operation.

      Parameters:
      requestId - The Amazon Web Services request ID for this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The HTTP status of the request.

      Parameters:
      status - The HTTP status of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.