Interface EnableEnhancedMonitoringRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<EnableEnhancedMonitoringRequest.Builder,,EnableEnhancedMonitoringRequest> KinesisRequest.Builder,SdkBuilder<EnableEnhancedMonitoringRequest.Builder,,EnableEnhancedMonitoringRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 EnableEnhancedMonitoringRequest
- 
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.shardLevelMetrics(Collection<MetricsName> shardLevelMetrics) List of shard-level metrics to enable.shardLevelMetrics(MetricsName... shardLevelMetrics) List of shard-level metrics to enable.shardLevelMetricsWithStrings(String... shardLevelMetrics) List of shard-level metrics to enable.shardLevelMetricsWithStrings(Collection<String> shardLevelMetrics) List of shard-level metrics to enable.The ARN of the stream.streamName(String streamName) The name of the stream for which to enable enhanced monitoring.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.kinesis.model.KinesisRequest.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
- 
streamName
The name of the stream for which to enable enhanced monitoring.
- Parameters:
 streamName- The name of the stream for which to enable enhanced monitoring.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
shardLevelMetricsWithStrings
EnableEnhancedMonitoringRequest.Builder shardLevelMetricsWithStrings(Collection<String> shardLevelMetrics) List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
 
IncomingBytes - 
 
IncomingRecords - 
 
OutgoingBytes - 
 
OutgoingRecords - 
 
WriteProvisionedThroughputExceeded - 
 
ReadProvisionedThroughputExceeded - 
 
IteratorAgeMilliseconds - 
 
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- Parameters:
 shardLevelMetrics- List of shard-level metrics to enable.The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
        
IncomingBytes - 
        
IncomingRecords - 
        
OutgoingBytes - 
        
OutgoingRecords - 
        
WriteProvisionedThroughputExceeded - 
        
ReadProvisionedThroughputExceeded - 
        
IteratorAgeMilliseconds - 
        
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
shardLevelMetricsWithStrings
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
 
IncomingBytes - 
 
IncomingRecords - 
 
OutgoingBytes - 
 
OutgoingRecords - 
 
WriteProvisionedThroughputExceeded - 
 
ReadProvisionedThroughputExceeded - 
 
IteratorAgeMilliseconds - 
 
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- Parameters:
 shardLevelMetrics- List of shard-level metrics to enable.The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
        
IncomingBytes - 
        
IncomingRecords - 
        
OutgoingBytes - 
        
OutgoingRecords - 
        
WriteProvisionedThroughputExceeded - 
        
ReadProvisionedThroughputExceeded - 
        
IteratorAgeMilliseconds - 
        
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
shardLevelMetrics
EnableEnhancedMonitoringRequest.Builder shardLevelMetrics(Collection<MetricsName> shardLevelMetrics) List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
 
IncomingBytes - 
 
IncomingRecords - 
 
OutgoingBytes - 
 
OutgoingRecords - 
 
WriteProvisionedThroughputExceeded - 
 
ReadProvisionedThroughputExceeded - 
 
IteratorAgeMilliseconds - 
 
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- Parameters:
 shardLevelMetrics- List of shard-level metrics to enable.The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
        
IncomingBytes - 
        
IncomingRecords - 
        
OutgoingBytes - 
        
OutgoingRecords - 
        
WriteProvisionedThroughputExceeded - 
        
ReadProvisionedThroughputExceeded - 
        
IteratorAgeMilliseconds - 
        
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
shardLevelMetrics
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
 
IncomingBytes - 
 
IncomingRecords - 
 
OutgoingBytes - 
 
OutgoingRecords - 
 
WriteProvisionedThroughputExceeded - 
 
ReadProvisionedThroughputExceeded - 
 
IteratorAgeMilliseconds - 
 
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- Parameters:
 shardLevelMetrics- List of shard-level metrics to enable.The following are the valid shard-level metrics. The value "
ALL" enables every metric.- 
        
IncomingBytes - 
        
IncomingRecords - 
        
OutgoingBytes - 
        
OutgoingRecords - 
        
WriteProvisionedThroughputExceeded - 
        
ReadProvisionedThroughputExceeded - 
        
IteratorAgeMilliseconds - 
        
ALL 
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
streamARN
The ARN of the stream.
- Parameters:
 streamARN- The ARN of the stream.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
EnableEnhancedMonitoringRequest.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
EnableEnhancedMonitoringRequest.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.
 
 
 -