Interface StartCacheReportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartCacheReportRequest.Builder,
,StartCacheReportRequest> SdkBuilder<StartCacheReportRequest.Builder,
,StartCacheReportRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
StartCacheReportRequest
-
Method Summary
Modifier and TypeMethodDescriptionbucketRegion
(String bucketRegion) The Amazon Web Services Region of the Amazon S3 bucket where you want to save the cache report.clientToken
(String clientToken) A unique identifier that you use to ensure idempotent report generation if you need to retry an unsuccessfulStartCacheReport
request.exclusionFilters
(Collection<CacheReportFilter> exclusionFilters) The list of filters and parameters that determine which files are excluded from the report.exclusionFilters
(Consumer<CacheReportFilter.Builder>... exclusionFilters) The list of filters and parameters that determine which files are excluded from the report.exclusionFilters
(CacheReportFilter... exclusionFilters) The list of filters and parameters that determine which files are excluded from the report.fileShareARN
(String fileShareARN) Sets the value of the FileShareARN property for this object.inclusionFilters
(Collection<CacheReportFilter> inclusionFilters) The list of filters and parameters that determine which files are included in the report.inclusionFilters
(Consumer<CacheReportFilter.Builder>... inclusionFilters) The list of filters and parameters that determine which files are included in the report.inclusionFilters
(CacheReportFilter... inclusionFilters) The list of filters and parameters that determine which files are included in the report.locationARN
(String locationARN) The ARN of the Amazon S3 bucket where you want to save the cache report.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the IAM role used when saving the cache report to Amazon S3.tags
(Collection<Tag> tags) A list of up to 50 key/value tags that you can assign to the cache report.tags
(Consumer<Tag.Builder>... tags) A list of up to 50 key/value tags that you can assign to the cache report.A list of up to 50 key/value tags that you can assign to the cache report.vpcEndpointDNSName
(String vpcEndpointDNSName) The DNS name of the VPC endpoint associated with the Amazon S3 where you want to save the cache report.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
role
The ARN of the IAM role used when saving the cache report to Amazon S3.
- Parameters:
role
- The ARN of the IAM role used when saving the cache report to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationARN
The ARN of the Amazon S3 bucket where you want to save the cache report.
We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.
This field does not accept access point ARNs.
- Parameters:
locationARN
- The ARN of the Amazon S3 bucket where you want to save the cache report.We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.
This field does not accept access point ARNs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketRegion
The Amazon Web Services Region of the Amazon S3 bucket where you want to save the cache report.
- Parameters:
bucketRegion
- The Amazon Web Services Region of the Amazon S3 bucket where you want to save the cache report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointDNSName
The DNS name of the VPC endpoint associated with the Amazon S3 where you want to save the cache report. Optional.
- Parameters:
vpcEndpointDNSName
- The DNS name of the VPC endpoint associated with the Amazon S3 where you want to save the cache report. Optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionFilters
The list of filters and parameters that determine which files are included in the report. You must specify at least one value for
InclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Parameters:
inclusionFilters
- The list of filters and parameters that determine which files are included in the report. You must specify at least one value forInclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionFilters
The list of filters and parameters that determine which files are included in the report. You must specify at least one value for
InclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Parameters:
inclusionFilters
- The list of filters and parameters that determine which files are included in the report. You must specify at least one value forInclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionFilters
StartCacheReportRequest.Builder inclusionFilters(Consumer<CacheReportFilter.Builder>... inclusionFilters) The list of filters and parameters that determine which files are included in the report. You must specify at least one value for
This is a convenience method that creates an instance of theInclusionFilters
orExclusionFilters
in aStartCacheReport
request.CacheReportFilter.Builder
avoiding the need to create one manually viaCacheReportFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinclusionFilters(List<CacheReportFilter>)
.- Parameters:
inclusionFilters
- a consumer that will call methods onCacheReportFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exclusionFilters
The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value for
InclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Parameters:
exclusionFilters
- The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value forInclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionFilters
The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value for
InclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Parameters:
exclusionFilters
- The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value forInclusionFilters
orExclusionFilters
in aStartCacheReport
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionFilters
StartCacheReportRequest.Builder exclusionFilters(Consumer<CacheReportFilter.Builder>... exclusionFilters) The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value for
This is a convenience method that creates an instance of theInclusionFilters
orExclusionFilters
in aStartCacheReport
request.CacheReportFilter.Builder
avoiding the need to create one manually viaCacheReportFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexclusionFilters(List<CacheReportFilter>)
.- Parameters:
exclusionFilters
- a consumer that will call methods onCacheReportFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier that you use to ensure idempotent report generation if you need to retry an unsuccessful
StartCacheReport
request. If you retry a request, use the sameClientToken
you specified in the initial request.- Parameters:
clientToken
- A unique identifier that you use to ensure idempotent report generation if you need to retry an unsuccessfulStartCacheReport
request. If you retry a request, use the sameClientToken
you specified in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 key/value tags that you can assign to the cache report. Using tags can help you categorize your reports and more easily locate them in search results.
- Parameters:
tags
- A list of up to 50 key/value tags that you can assign to the cache report. Using tags can help you categorize your reports and more easily locate them in search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 key/value tags that you can assign to the cache report. Using tags can help you categorize your reports and more easily locate them in search results.
- Parameters:
tags
- A list of up to 50 key/value tags that you can assign to the cache report. Using tags can help you categorize your reports and more easily locate them in search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 key/value tags that you can assign to the cache report. Using tags can help you categorize your reports and more easily locate them in search results.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartCacheReportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartCacheReportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.