TimelineBuilders.TimelineEntry.Builder

public final class TimelineBuilders.TimelineEntry.Builder


Builder for TimelineEntry

Summary

Public constructors

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

public Builder()

Public methods

build

@NonNull
public TimelineBuilders.TimelineEntry build()

Builds an instance from accumulated values.

setLayout

@NonNull
public TimelineBuilders.TimelineEntry.Builder setLayout(@NonNull LayoutElementBuilders.Layout layout)

Sets the contents of this timeline entry.

setValidity

@NonNull
public TimelineBuilders.TimelineEntry.Builder setValidity(@NonNull TimelineBuilders.TimeInterval validity)

Sets the validity period for this timeline entry.