Interface GetDataLakeSourcesResponse.Builder

  • Method Details

    • dataLakeArn

      GetDataLakeSourcesResponse.Builder dataLakeArn(String dataLakeArn)

      The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.

      Parameters:
      dataLakeArn - The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataLakeSources

      The list of enabled accounts and enabled sources.

      Parameters:
      dataLakeSources - The list of enabled accounts and enabled sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataLakeSources

      GetDataLakeSourcesResponse.Builder dataLakeSources(DataLakeSource... dataLakeSources)

      The list of enabled accounts and enabled sources.

      Parameters:
      dataLakeSources - The list of enabled accounts and enabled sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataLakeSources

      The list of enabled accounts and enabled sources.

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

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

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

      Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

      Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

      Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.