Skip to content

PlatformOptions

Adnan Mujagić edited this page Aug 5, 2024 · 1 revision



builder()

Description

Creates a builder instance used to build a new instance of PlatformOptions.

Arguments

  • none

Returns

Example

PlatformOptions.Builder builder = PlatformOptions.builder();



getApplicationId()

Description

Getter for the applicationId field.

Arguments

  • none

Returns

  • String - Value of the applicationId field representing the identifier of the application that the call should be associated with.

Example

PlatformOptions platformOptions = PlatformOptions.builder().applicationId("my-application-id").build();
String applicationId = platformOptions.getApplicationId();



getEntityId()

Description

Getter for the entityId field.

Arguments

  • none

Returns

  • String - Value of the entityId field representing the identifier of the entity that the call should be associated with.

Example

PlatformOptions platformOptions = PlatformOptions.builder().entityId("my-entity-id").build();
String entityId = platformOptions.getEntityId();



Builder




applicationId(applicationId)

Description

Setter for the applicationId field.

Arguments

  • applicationId: String - Value representing the identifier of the application that the call should be associated with.

Returns

Example

PlatformOptions.Builder platformOptionsBuilder = PlatformOptions.builder().applicationId("my-application-id");



entityId(entityId)

Description

Setter for the entityId field.

Arguments

  • entityId: String - Value representing the identifier of the entity that the call should be associated with.

Returns

Example

PlatformOptions.Builder platformOptionsBuilder = PlatformOptions.builder().entityId("my-entity-id");



build()

Description

Builds a new instance of the PlatformOptions.

Arguments

  • none

Returns

Example

PlatformOptions.Builder platformOptionsBuilder = PlatformOptions.builder();
PlatformOptions platformOptions = platformOptionsBuilder.build();

Tutorials

Migration guides

Reference documentation

Clone this wiki locally