Interface UpdateFileCacheRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFileCacheRequest.Builder,,UpdateFileCacheRequest> FSxRequest.Builder,SdkBuilder<UpdateFileCacheRequest.Builder,,UpdateFileCacheRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFileCacheRequest
public static interface UpdateFileCacheRequest.Builder
extends FSxRequest.Builder, SdkPojo, CopyableBuilder<UpdateFileCacheRequest.Builder,UpdateFileCacheRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.fileCacheId(String fileCacheId) The ID of the cache that you are updating.default UpdateFileCacheRequest.BuilderlustreConfiguration(Consumer<UpdateFileCacheLustreConfiguration.Builder> lustreConfiguration) The configuration updates for an Amazon File Cache resource.lustreConfiguration(UpdateFileCacheLustreConfiguration lustreConfiguration) The configuration updates for an Amazon File Cache resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fileCacheId
The ID of the cache that you are updating.
- Parameters:
fileCacheId- The ID of the cache that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lustreConfiguration
UpdateFileCacheRequest.Builder lustreConfiguration(UpdateFileCacheLustreConfiguration lustreConfiguration) The configuration updates for an Amazon File Cache resource.
- Parameters:
lustreConfiguration- The configuration updates for an Amazon File Cache resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lustreConfiguration
default UpdateFileCacheRequest.Builder lustreConfiguration(Consumer<UpdateFileCacheLustreConfiguration.Builder> lustreConfiguration) The configuration updates for an Amazon File Cache resource.
This is a convenience method that creates an instance of theUpdateFileCacheLustreConfiguration.Builderavoiding the need to create one manually viaUpdateFileCacheLustreConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolustreConfiguration(UpdateFileCacheLustreConfiguration).- Parameters:
lustreConfiguration- a consumer that will call methods onUpdateFileCacheLustreConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFileCacheRequest.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
UpdateFileCacheRequest.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.
-