Class SpanIFrame.Builder
-
- All Implemented Interfaces:
public final class SpanIFrame.BuilderA builder for SpanIFrame.
-
-
Method Summary
Modifier and Type Method Description final SpanIFrame.Builderid(String id)Unique identifier for the span iframe final SpanIFrame.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final SpanIFrame.Buildername(String name)Name of the span iframe final SpanIFrame.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final SpanIFrame.BuilderprojectId(String projectId)Unique identifier for the project that the span iframe belongs under final SpanIFrame.BuilderprojectId(JsonField<String> projectId)Sets Builder.projectId to an arbitrary JSON value. final SpanIFrame.Builderurl(String url)URL to embed the project viewer in an iframe final SpanIFrame.Builderurl(JsonField<String> url)Sets Builder.url to an arbitrary JSON value. final SpanIFrame.Buildercreated(OffsetDateTime created)Date of span iframe creation final SpanIFrame.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final SpanIFrame.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final SpanIFrame.BuilderdeletedAt(OffsetDateTime deletedAt)Date of span iframe deletion, or null if the span iframe is still active final SpanIFrame.BuilderdeletedAt(Optional<OffsetDateTime> deletedAt)Alias for calling Builder.deletedAt with deletedAt.orElse(null).final SpanIFrame.BuilderdeletedAt(JsonField<OffsetDateTime> deletedAt)Sets Builder.deletedAt to an arbitrary JSON value. final SpanIFrame.Builderdescription(String description)Textual description of the span iframe final SpanIFrame.Builderdescription(Optional<String> description)Alias for calling Builder.description with description.orElse(null).final SpanIFrame.Builderdescription(JsonField<String> description)Sets Builder.description to an arbitrary JSON value. final SpanIFrame.BuilderpostMessage(Boolean postMessage)Whether to post messages to the iframe containing the span's data. final SpanIFrame.BuilderpostMessage(Boolean postMessage)Alias for Builder.postMessage. final SpanIFrame.BuilderpostMessage(Optional<Boolean> postMessage)Alias for calling Builder.postMessage with postMessage.orElse(null).final SpanIFrame.BuilderpostMessage(JsonField<Boolean> postMessage)Sets Builder.postMessage to an arbitrary JSON value. final SpanIFrame.BuilderuserId(String userId)Identifies the user who created the span iframe final SpanIFrame.BuilderuserId(Optional<String> userId)Alias for calling Builder.userId with userId.orElse(null).final SpanIFrame.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final SpanIFrame.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final SpanIFrame.BuilderputAdditionalProperty(String key, JsonValue value)final SpanIFrame.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final SpanIFrame.BuilderremoveAdditionalProperty(String key)final SpanIFrame.BuilderremoveAllAdditionalProperties(Set<String> keys)final SpanIFramebuild()Returns an immutable instance of SpanIFrame. -
-
Method Detail
-
id
final SpanIFrame.Builder id(String id)
Unique identifier for the span iframe
-
id
final SpanIFrame.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final SpanIFrame.Builder name(String name)
Name of the span iframe
-
name
final SpanIFrame.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final SpanIFrame.Builder projectId(String projectId)
Unique identifier for the project that the span iframe belongs under
-
projectId
final SpanIFrame.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final SpanIFrame.Builder url(String url)
URL to embed the project viewer in an iframe
-
url
final SpanIFrame.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final SpanIFrame.Builder created(OffsetDateTime created)
Date of span iframe creation
-
created
final SpanIFrame.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final SpanIFrame.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deletedAt
final SpanIFrame.Builder deletedAt(OffsetDateTime deletedAt)
Date of span iframe deletion, or null if the span iframe is still active
-
deletedAt
final SpanIFrame.Builder deletedAt(Optional<OffsetDateTime> deletedAt)
Alias for calling Builder.deletedAt with
deletedAt.orElse(null).
-
deletedAt
final SpanIFrame.Builder deletedAt(JsonField<OffsetDateTime> deletedAt)
Sets Builder.deletedAt to an arbitrary JSON value.
You should usually call Builder.deletedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final SpanIFrame.Builder description(String description)
Textual description of the span iframe
-
description
final SpanIFrame.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final SpanIFrame.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
postMessage
final SpanIFrame.Builder postMessage(Boolean postMessage)
Whether to post messages to the iframe containing the span's data. This is useful when you want to render more data than fits in the URL.
-
postMessage
final SpanIFrame.Builder postMessage(Boolean postMessage)
Alias for Builder.postMessage.
This unboxed primitive overload exists for backwards compatibility.
-
postMessage
final SpanIFrame.Builder postMessage(Optional<Boolean> postMessage)
Alias for calling Builder.postMessage with
postMessage.orElse(null).
-
postMessage
final SpanIFrame.Builder postMessage(JsonField<Boolean> postMessage)
Sets Builder.postMessage to an arbitrary JSON value.
You should usually call Builder.postMessage with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final SpanIFrame.Builder userId(String userId)
Identifies the user who created the span iframe
-
userId
final SpanIFrame.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final SpanIFrame.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SpanIFrame.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SpanIFrame.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SpanIFrame.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SpanIFrame.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SpanIFrame.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SpanIFrame build()
Returns an immutable instance of SpanIFrame.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .name() .projectId() .url()
-
-
-
-