Interface UpdateStreamStorageConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStreamStorageConfigurationRequest.Builder,,UpdateStreamStorageConfigurationRequest> KinesisVideoRequest.Builder,SdkBuilder<UpdateStreamStorageConfigurationRequest.Builder,,UpdateStreamStorageConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateStreamStorageConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptioncurrentVersion(String currentVersion) The version of the stream whose storage configuration you want to change.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the stream for which you want to update the storage configuration.streamName(String streamName) The name of the stream for which you want to update the storage configuration.streamStorageConfiguration(Consumer<StreamStorageConfiguration.Builder> streamStorageConfiguration) The new storage configuration for the stream.streamStorageConfiguration(StreamStorageConfiguration streamStorageConfiguration) The new storage configuration for the stream.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.kinesisvideo.model.KinesisVideoRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
streamName
The name of the stream for which you want to update the storage configuration.
- Parameters:
streamName- The name of the stream for which you want to update the storage configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
The Amazon Resource Name (ARN) of the stream for which you want to update the storage configuration.
- Parameters:
streamARN- The Amazon Resource Name (ARN) of the stream for which you want to update the storage configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The version of the stream whose storage configuration you want to change. To get the version, call either the
DescribeStreamor theListStreamsAPI.- Parameters:
currentVersion- The version of the stream whose storage configuration you want to change. To get the version, call either theDescribeStreamor theListStreamsAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamStorageConfiguration
UpdateStreamStorageConfigurationRequest.Builder streamStorageConfiguration(StreamStorageConfiguration streamStorageConfiguration) The new storage configuration for the stream. This includes the default storage tier that determines how stream data is stored and accessed.
Different storage tiers offer varying levels of performance and cost optimization to match your specific use case requirements.
- Parameters:
streamStorageConfiguration- The new storage configuration for the stream. This includes the default storage tier that determines how stream data is stored and accessed.Different storage tiers offer varying levels of performance and cost optimization to match your specific use case requirements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamStorageConfiguration
default UpdateStreamStorageConfigurationRequest.Builder streamStorageConfiguration(Consumer<StreamStorageConfiguration.Builder> streamStorageConfiguration) The new storage configuration for the stream. This includes the default storage tier that determines how stream data is stored and accessed.
Different storage tiers offer varying levels of performance and cost optimization to match your specific use case requirements.
This is a convenience method that creates an instance of theStreamStorageConfiguration.Builderavoiding the need to create one manually viaStreamStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamStorageConfiguration(StreamStorageConfiguration).- Parameters:
streamStorageConfiguration- a consumer that will call methods onStreamStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateStreamStorageConfigurationRequest.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
UpdateStreamStorageConfigurationRequest.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.
-