Interface CollectionScheme.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CollectionScheme.Builder,,CollectionScheme> SdkBuilder<CollectionScheme.Builder,,CollectionScheme> SdkPojo
- Enclosing class:
CollectionScheme
-
Method Summary
Modifier and TypeMethodDescriptiondefault CollectionScheme.BuilderconditionBasedCollectionScheme(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.BuildertimeBasedCollectionScheme(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaTimeBasedCollectionScheme.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConditionBasedCollectionScheme.builder().When the
Consumercompletes,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:
-