Interface CollectionScheme.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CollectionScheme.Builder,
,CollectionScheme> SdkBuilder<CollectionScheme.Builder,
,CollectionScheme> SdkPojo
- Enclosing class:
CollectionScheme
-
Method Summary
Modifier and TypeMethodDescriptiondefault CollectionScheme.Builder
conditionBasedCollectionScheme
(Consumer<ConditionBasedCollectionScheme.Builder> conditionBasedCollectionScheme) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.conditionBasedCollectionScheme
(ConditionBasedCollectionScheme conditionBasedCollectionScheme) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.default CollectionScheme.Builder
timeBasedCollectionScheme
(Consumer<TimeBasedCollectionScheme.Builder> timeBasedCollectionScheme) Information about a collection scheme that uses a time period to decide how often to collect data.timeBasedCollectionScheme
(TimeBasedCollectionScheme timeBasedCollectionScheme) Information about a collection scheme that uses a time period to decide how often to collect data.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
-
Method Details
-
timeBasedCollectionScheme
CollectionScheme.Builder timeBasedCollectionScheme(TimeBasedCollectionScheme timeBasedCollectionScheme) Information about a collection scheme that uses a time period to decide how often to collect data.
- Parameters:
timeBasedCollectionScheme
- Information about a collection scheme that uses a time period to decide how often to collect data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeBasedCollectionScheme
default CollectionScheme.Builder timeBasedCollectionScheme(Consumer<TimeBasedCollectionScheme.Builder> timeBasedCollectionScheme) Information about a collection scheme that uses a time period to decide how often to collect data.
This is a convenience method that creates an instance of theTimeBasedCollectionScheme.Builder
avoiding the need to create one manually viaTimeBasedCollectionScheme.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeBasedCollectionScheme(TimeBasedCollectionScheme)
.- Parameters:
timeBasedCollectionScheme
- a consumer that will call methods onTimeBasedCollectionScheme.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditionBasedCollectionScheme
CollectionScheme.Builder conditionBasedCollectionScheme(ConditionBasedCollectionScheme conditionBasedCollectionScheme) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
- Parameters:
conditionBasedCollectionScheme
- Information about a collection scheme that uses a simple logical expression to recognize what data to collect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditionBasedCollectionScheme
default CollectionScheme.Builder conditionBasedCollectionScheme(Consumer<ConditionBasedCollectionScheme.Builder> conditionBasedCollectionScheme) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
This is a convenience method that creates an instance of theConditionBasedCollectionScheme.Builder
avoiding the need to create one manually viaConditionBasedCollectionScheme.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditionBasedCollectionScheme(ConditionBasedCollectionScheme)
.- Parameters:
conditionBasedCollectionScheme
- a consumer that will call methods onConditionBasedCollectionScheme.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-