Interface ReportsInS3Configuration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReportsInS3Configuration.Builder,,ReportsInS3Configuration> SdkBuilder<ReportsInS3Configuration.Builder,,ReportsInS3Configuration> SdkPojo
- Enclosing class:
ReportsInS3Configuration
-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The name of the Amazon S3 bucket that receives the reports.expectedBucketOwner(String expectedBucketOwner) The 12-digit account ID of the owner of the Amazon S3 bucket.The prefix that Backup adds to the object key of each report.resourceTypes(String... resourceTypes) The resource types to deliver file-level error reports for.resourceTypes(Collection<String> resourceTypes) The resource types to deliver file-level error reports for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
GetSupportedResourceTypesAPI.- 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
GetSupportedResourceTypesAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
GetSupportedResourceTypesAPI.- 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
GetSupportedResourceTypesAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-