Interface ListAccessesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAccessesResponse.Builder,ListAccessesResponse>, SdkBuilder<ListAccessesResponse.Builder,ListAccessesResponse>, SdkPojo, SdkResponse.Builder, TransferResponse.Builder
Enclosing class:
ListAccessesResponse

public static interface ListAccessesResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListAccessesResponse.Builder,ListAccessesResponse>
  • Method Details

    • nextToken

      ListAccessesResponse.Builder nextToken(String nextToken)

      When you can get additional results from the ListAccesses call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional accesses.

      Parameters:
      nextToken - When you can get additional results from the ListAccesses call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional accesses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverId

      A system-assigned unique identifier for a server that has users assigned to it.

      Parameters:
      serverId - A system-assigned unique identifier for a server that has users assigned to it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accesses

      Returns the accesses and their properties for the ServerId value that you specify.

      Parameters:
      accesses - Returns the accesses and their properties for the ServerId value that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accesses

      Returns the accesses and their properties for the ServerId value that you specify.

      Parameters:
      accesses - Returns the accesses and their properties for the ServerId value that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accesses

      Returns the accesses and their properties for the ServerId value that you specify.

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

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

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