Interface StartCacheReportRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartCacheReportRequest.Builder,StartCacheReportRequest>,SdkBuilder<StartCacheReportRequest.Builder,StartCacheReportRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- StartCacheReportRequest
public static interface StartCacheReportRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<StartCacheReportRequest.Builder,StartCacheReportRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartCacheReportRequest.BuilderbucketRegion(String bucketRegion)The Amazon Web Services Region of the Amazon S3 bucket associated with the file share for which you want to generate the cache report.StartCacheReportRequest.BuilderclientToken(String clientToken)A unique identifier that you use to ensure idempotent report generation if you need to retry an unsuccessfulStartCacheReportrequest.StartCacheReportRequest.BuilderexclusionFilters(Collection<CacheReportFilter> exclusionFilters)The list of filters and parameters that determine which files are excluded from the report.StartCacheReportRequest.BuilderexclusionFilters(Consumer<CacheReportFilter.Builder>... exclusionFilters)The list of filters and parameters that determine which files are excluded from the report.StartCacheReportRequest.BuilderexclusionFilters(CacheReportFilter... exclusionFilters)The list of filters and parameters that determine which files are excluded from the report.StartCacheReportRequest.BuilderfileShareARN(String fileShareARN)Sets the value of the FileShareARN property for this object.StartCacheReportRequest.BuilderinclusionFilters(Collection<CacheReportFilter> inclusionFilters)The list of filters and parameters that determine which files are included in the report.StartCacheReportRequest.BuilderinclusionFilters(Consumer<CacheReportFilter.Builder>... inclusionFilters)The list of filters and parameters that determine which files are included in the report.StartCacheReportRequest.BuilderinclusionFilters(CacheReportFilter... inclusionFilters)The list of filters and parameters that determine which files are included in the report.StartCacheReportRequest.BuilderlocationARN(String locationARN)The ARN of the Amazon S3 bucket where the cache report will be saved.StartCacheReportRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartCacheReportRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartCacheReportRequest.Builderrole(String role)The ARN of the IAM role used when saving the cache report to Amazon S3.StartCacheReportRequest.Buildertags(Collection<Tag> tags)A list of up to 50 key/value tags that you can assign to the cache report.StartCacheReportRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of up to 50 key/value tags that you can assign to the cache report.StartCacheReportRequest.Buildertags(Tag... tags)A list of up to 50 key/value tags that you can assign to the cache report.StartCacheReportRequest.BuildervpcEndpointDNSName(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 Detail
-
fileShareARN
StartCacheReportRequest.Builder fileShareARN(String fileShareARN)
Sets the value of the FileShareARN property for this object.- Parameters:
fileShareARN- The new value for the FileShareARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
StartCacheReportRequest.Builder role(String 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
StartCacheReportRequest.Builder locationARN(String locationARN)
The ARN of the Amazon S3 bucket where the cache report will be saved.
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 the cache report will be saved.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
StartCacheReportRequest.Builder bucketRegion(String bucketRegion)
The Amazon Web Services Region of the Amazon S3 bucket associated with the file share for which you want to generate the cache report.
- Parameters:
bucketRegion- The Amazon Web Services Region of the Amazon S3 bucket associated with the file share for which you want to generate the cache report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointDNSName
StartCacheReportRequest.Builder vpcEndpointDNSName(String 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
StartCacheReportRequest.Builder inclusionFilters(Collection<CacheReportFilter> 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(CacheReportFilter... 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 to#inclusionFilters(List.) - 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:
#inclusionFilters(java.util.Collection)
-
exclusionFilters
StartCacheReportRequest.Builder exclusionFilters(Collection<CacheReportFilter> 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(CacheReportFilter... 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 to#exclusionFilters(List.) - 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:
#exclusionFilters(java.util.Collection)
-
clientToken
StartCacheReportRequest.Builder clientToken(String 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
StartCacheReportRequest.Builder tags(Collection<Tag> 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
StartCacheReportRequest.Builder tags(Tag... 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
StartCacheReportRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
StartCacheReportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartCacheReportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-