Interface CollectionScheme.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CollectionScheme.Builder,CollectionScheme>,SdkBuilder<CollectionScheme.Builder,CollectionScheme>,SdkPojo
- Enclosing class:
- CollectionScheme
public static interface CollectionScheme.Builder extends SdkPojo, CopyableBuilder<CollectionScheme.Builder,CollectionScheme>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CollectionScheme.BuilderconditionBasedCollectionScheme(Consumer<ConditionBasedCollectionScheme.Builder> conditionBasedCollectionScheme)Information about a collection scheme that uses a simple logical expression to recognize what data to collect.CollectionScheme.BuilderconditionBasedCollectionScheme(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.CollectionScheme.BuildertimeBasedCollectionScheme(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, sdkFields
-
-
-
-
Method Detail
-
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:
timeBasedCollectionScheme(TimeBasedCollectionScheme)
-
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:
conditionBasedCollectionScheme(ConditionBasedCollectionScheme)
-
-