Język

FhirResource.Builder.SetId(String) Method

Definition

Sets the FHIR resource ID.

[Android.Runtime.Register("setId", "(Ljava/lang/String;)Landroid/health/connect/datatypes/FhirResource$Builder;", "", ApiSince=36)]
public Android.Health.Connect.DataTypes.FhirResource.Builder SetId(string id);
[<Android.Runtime.Register("setId", "(Ljava/lang/String;)Landroid/health/connect/datatypes/FhirResource$Builder;", "", ApiSince=36)>]
member this.SetId : string -> Android.Health.Connect.DataTypes.FhirResource.Builder

Parameters

id
String

The FHIR resource identifier to store in this builder.

Returns

This FHIR resource builder with the resource identifier set.

Attributes

Remarks

Sets the FHIR resource ID. Supply the ID from the "id" field in data; this method does not extract it from the data. This is NOT a unique identifier among all FhirResource objects.

Android reference for android.health.connect.datatypes.FhirResource.Builder.setId.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to