public static interface InstanceEventWindow.Builder extends SdkPojo, CopyableBuilder<InstanceEventWindow.Builder,InstanceEventWindow>
| Modifier and Type | Method and Description |
|---|---|
default InstanceEventWindow.Builder |
associationTarget(Consumer<InstanceEventWindowAssociationTarget.Builder> associationTarget)
One or more targets associated with the event window.
|
InstanceEventWindow.Builder |
associationTarget(InstanceEventWindowAssociationTarget associationTarget)
One or more targets associated with the event window.
|
InstanceEventWindow.Builder |
cronExpression(String cronExpression)
The cron expression defined for the event window.
|
InstanceEventWindow.Builder |
instanceEventWindowId(String instanceEventWindowId)
The ID of the event window.
|
InstanceEventWindow.Builder |
name(String name)
The name of the event window.
|
InstanceEventWindow.Builder |
state(InstanceEventWindowState state)
The current state of the event window.
|
InstanceEventWindow.Builder |
state(String state)
The current state of the event window.
|
InstanceEventWindow.Builder |
tags(Collection<Tag> tags)
The instance tags associated with the event window.
|
InstanceEventWindow.Builder |
tags(Consumer<Tag.Builder>... tags)
The instance tags associated with the event window.
|
InstanceEventWindow.Builder |
tags(Tag... tags)
The instance tags associated with the event window.
|
InstanceEventWindow.Builder |
timeRanges(Collection<InstanceEventWindowTimeRange> timeRanges)
One or more time ranges defined for the event window.
|
InstanceEventWindow.Builder |
timeRanges(Consumer<InstanceEventWindowTimeRange.Builder>... timeRanges)
One or more time ranges defined for the event window.
|
InstanceEventWindow.Builder |
timeRanges(InstanceEventWindowTimeRange... timeRanges)
One or more time ranges defined for the event window.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceEventWindow.Builder instanceEventWindowId(String instanceEventWindowId)
The ID of the event window.
instanceEventWindowId - The ID of the event window.InstanceEventWindow.Builder timeRanges(Collection<InstanceEventWindowTimeRange> timeRanges)
One or more time ranges defined for the event window.
timeRanges - One or more time ranges defined for the event window.InstanceEventWindow.Builder timeRanges(InstanceEventWindowTimeRange... timeRanges)
One or more time ranges defined for the event window.
timeRanges - One or more time ranges defined for the event window.InstanceEventWindow.Builder timeRanges(Consumer<InstanceEventWindowTimeRange.Builder>... timeRanges)
One or more time ranges defined for the event window.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #timeRanges(List) .timeRanges - a consumer that will call methods on List.Builder #timeRanges(List) InstanceEventWindow.Builder name(String name)
The name of the event window.
name - The name of the event window.InstanceEventWindow.Builder cronExpression(String cronExpression)
The cron expression defined for the event window.
cronExpression - The cron expression defined for the event window.InstanceEventWindow.Builder associationTarget(InstanceEventWindowAssociationTarget associationTarget)
One or more targets associated with the event window.
associationTarget - One or more targets associated with the event window.default InstanceEventWindow.Builder associationTarget(Consumer<InstanceEventWindowAssociationTarget.Builder> associationTarget)
One or more targets associated with the event window.
This is a convenience that creates an instance of theInstanceEventWindowAssociationTarget.Builder
avoiding the need to create one manually via InstanceEventWindowAssociationTarget.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to associationTarget(InstanceEventWindowAssociationTarget).associationTarget - a consumer that will call methods on InstanceEventWindowAssociationTarget.BuilderassociationTarget(InstanceEventWindowAssociationTarget)InstanceEventWindow.Builder state(String state)
The current state of the event window.
state - The current state of the event window.InstanceEventWindowState,
InstanceEventWindowStateInstanceEventWindow.Builder state(InstanceEventWindowState state)
The current state of the event window.
state - The current state of the event window.InstanceEventWindowState,
InstanceEventWindowStateInstanceEventWindow.Builder tags(Collection<Tag> tags)
The instance tags associated with the event window.
tags - The instance tags associated with the event window.InstanceEventWindow.Builder tags(Tag... tags)
The instance tags associated with the event window.
tags - The instance tags associated with the event window.InstanceEventWindow.Builder tags(Consumer<Tag.Builder>... tags)
The instance tags associated with the event window.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2021. All rights reserved.