Interface ResourceLocation.Builder

  • Method Details

    • s3

      The Amazon S3 location of the resource. Use this when the resource is stored in an Amazon S3 bucket.

      Parameters:
      s3 - The Amazon S3 location of the resource. Use this when the resource is stored in an Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3

      The Amazon S3 location of the resource. Use this when the resource is stored in an Amazon S3 bucket.

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

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

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