Interface ReportsInS3Configuration.Builder

  • Method Details

    • bucketName

      ReportsInS3Configuration.Builder bucketName(String bucketName)

      The name of the Amazon S3 bucket that receives the reports.

      The name must be between 3 and 63 characters and can contain only lowercase letters, numbers, periods (.), and hyphens (-).

      Parameters:
      bucketName - The name of the Amazon S3 bucket that receives the reports.

      The name must be between 3 and 63 characters and can contain only lowercase letters, numbers, periods (.), and hyphens (-).

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

      The prefix that Backup adds to the object key of each report. If not specified, there is no prefix.

      The prefix can be up to 200 characters and can contain letters, numbers, and the characters ! - _ . * ' ( ) /.

      Parameters:
      keyPrefix - The prefix that Backup adds to the object key of each report. If not specified, there is no prefix.

      The prefix can be up to 200 characters and can contain letters, numbers, and the characters ! - _ . * ' ( ) /.

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

      ReportsInS3Configuration.Builder expectedBucketOwner(String expectedBucketOwner)

      The 12-digit account ID of the owner of the Amazon S3 bucket. The account must be your own account or an account in the same organization in Amazon Web Services Organizations. If the bucket is owned by a different account, Backup doesn't deliver the report.

      Parameters:
      expectedBucketOwner - The 12-digit account ID of the owner of the Amazon S3 bucket. The account must be your own account or an account in the same organization in Amazon Web Services Organizations. If the bucket is owned by a different account, Backup doesn't deliver the report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      ReportsInS3Configuration.Builder resourceTypes(Collection<String> resourceTypes)

      The resource types to deliver file-level error reports for. Specify at least one resource type, and specify each resource type only once. Each resource type must support file-level error reports.

      To get the resource types available in your account, use the GetSupportedResourceTypes API.

      Parameters:
      resourceTypes - The resource types to deliver file-level error reports for. Specify at least one resource type, and specify each resource type only once. Each resource type must support file-level error reports.

      To get the resource types available in your account, use the GetSupportedResourceTypes API.

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

      ReportsInS3Configuration.Builder resourceTypes(String... resourceTypes)

      The resource types to deliver file-level error reports for. Specify at least one resource type, and specify each resource type only once. Each resource type must support file-level error reports.

      To get the resource types available in your account, use the GetSupportedResourceTypes API.

      Parameters:
      resourceTypes - The resource types to deliver file-level error reports for. Specify at least one resource type, and specify each resource type only once. Each resource type must support file-level error reports.

      To get the resource types available in your account, use the GetSupportedResourceTypes API.

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