Interface GetResourceSharesResponse.Builder

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

public static interface GetResourceSharesResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<GetResourceSharesResponse.Builder,GetResourceSharesResponse>
  • Method Details

    • resourceShares

      An array of objects that contain the information about the resource shares.

      Parameters:
      resourceShares - An array of objects that contain the information about the resource shares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceShares

      GetResourceSharesResponse.Builder resourceShares(ResourceShare... resourceShares)

      An array of objects that contain the information about the resource shares.

      Parameters:
      resourceShares - An array of objects that contain the information about the resource shares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceShares

      An array of objects that contain the information about the resource shares.

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

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

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

      If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.

      Parameters:
      nextToken - If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.