TimelineBuilders.TimelineEntry.Builder


public final class TimelineBuilders.TimelineEntry.Builder


Builder for TimelineEntry

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull TimelineBuilders.TimelineEntry

Builds an instance from accumulated values.

@NonNull TimelineBuilders.TimelineEntry.Builder

Sets the contents of this timeline entry.

@NonNull TimelineBuilders.TimelineEntry.Builder

Sets the validity period for this timeline entry.

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull TimelineBuilders.TimelineEntry build()

Builds an instance from accumulated values.

setLayout

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
public @NonNull TimelineBuilders.TimelineEntry.Builder setLayout(@NonNull LayoutElementBuilders.Layout layout)

Sets the contents of this timeline entry.

setValidity

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
public @NonNull TimelineBuilders.TimelineEntry.Builder setValidity(@NonNull TimelineBuilders.TimeInterval validity)

Sets the validity period for this timeline entry.