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 unsuccessfulStartCacheReportrequest.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
overrideConfigurationMethods 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, sdkFieldsMethods 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
InclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- Parameters:
inclusionFilters- The list of filters and parameters that determine which files are included in the report. You must specify at least one value forInclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- 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
InclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- Parameters:
inclusionFilters- The list of filters and parameters that determine which files are included in the report. You must specify at least one value forInclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- 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 theInclusionFiltersorExclusionFiltersin aStartCacheReportrequest.CacheReportFilter.Builderavoiding the need to create one manually viaCacheReportFilter.builder().When the
Consumercompletes,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
InclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- Parameters:
exclusionFilters- The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value forInclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- 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
InclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- Parameters:
exclusionFilters- The list of filters and parameters that determine which files are excluded from the report. You must specify at least one value forInclusionFiltersorExclusionFiltersin aStartCacheReportrequest.- 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 theInclusionFiltersorExclusionFiltersin aStartCacheReportrequest.CacheReportFilter.Builderavoiding the need to create one manually viaCacheReportFilter.builder().When the
Consumercompletes,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
StartCacheReportrequest. If you retry a request, use the sameClientTokenyou specified in the initial request.- Parameters:
clientToken- A unique identifier that you use to ensure idempotent report generation if you need to retry an unsuccessfulStartCacheReportrequest. If you retry a request, use the sameClientTokenyou 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.