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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateFileCacheRequest.BuilderclientRequestToken(String clientRequestToken)Sets the value of the ClientRequestToken property for this object.UpdateFileCacheRequest.BuilderfileCacheId(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.UpdateFileCacheRequest.BuilderlustreConfiguration(UpdateFileCacheLustreConfiguration lustreConfiguration)The configuration updates for an Amazon File Cache resource.UpdateFileCacheRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFileCacheRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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.services.fsx.model.FSxRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
fileCacheId
UpdateFileCacheRequest.Builder fileCacheId(String 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
UpdateFileCacheRequest.Builder clientRequestToken(String 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:
lustreConfiguration(UpdateFileCacheLustreConfiguration)
-
overrideConfiguration
UpdateFileCacheRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFileCacheRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-