ContactParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.orbital.models.ContactParameters

Implements

public final class ContactParameters
implements JsonSerializable<ContactParameters>

Parameters that define the contact resource.

Constructor Summary

Constructor Description
ContactParameters()

Creates an instance of ContactParameters class.

Method Summary

Modifier and Type Method and Description
ContactParametersContactProfile contactProfile()

Get the contactProfile property: The reference to the contact profile resource.

OffsetDateTime endTime()

Get the endTime property: End time of a contact (ISO 8601 UTC standard).

static ContactParameters fromJson(JsonReader jsonReader)

Reads an instance of ContactParameters from the JsonReader.

String groundStationName()

Get the groundStationName property: Name of Azure Ground Station.

OffsetDateTime startTime()

Get the startTime property: Start time of a contact (ISO 8601 UTC standard).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContactParameters withContactProfile(ContactParametersContactProfile contactProfile)

Set the contactProfile property: The reference to the contact profile resource.

ContactParameters withEndTime(OffsetDateTime endTime)

Set the endTime property: End time of a contact (ISO 8601 UTC standard).

ContactParameters withGroundStationName(String groundStationName)

Set the groundStationName property: Name of Azure Ground Station.

ContactParameters withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time of a contact (ISO 8601 UTC standard).

Methods inherited from java.lang.Object

Constructor Details

ContactParameters

public ContactParameters()

Creates an instance of ContactParameters class.

Method Details

contactProfile

public ContactParametersContactProfile contactProfile()

Get the contactProfile property: The reference to the contact profile resource.

Returns:

the contactProfile value.

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of a contact (ISO 8601 UTC standard).

Returns:

the endTime value.

fromJson

public static ContactParameters fromJson(JsonReader jsonReader)

Reads an instance of ContactParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContactParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

groundStationName

public String groundStationName()

Get the groundStationName property: Name of Azure Ground Station.

Returns:

the groundStationName value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time of a contact (ISO 8601 UTC standard).

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContactProfile

public ContactParameters withContactProfile(ContactParametersContactProfile contactProfile)

Set the contactProfile property: The reference to the contact profile resource.

Parameters:

contactProfile - the contactProfile value to set.

Returns:

the ContactParameters object itself.

withEndTime

public ContactParameters withEndTime(OffsetDateTime endTime)

Set the endTime property: End time of a contact (ISO 8601 UTC standard).

Parameters:

endTime - the endTime value to set.

Returns:

the ContactParameters object itself.

withGroundStationName

public ContactParameters withGroundStationName(String groundStationName)

Set the groundStationName property: Name of Azure Ground Station.

Parameters:

groundStationName - the groundStationName value to set.

Returns:

the ContactParameters object itself.

withStartTime

public ContactParameters withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time of a contact (ISO 8601 UTC standard).

Parameters:

startTime - the startTime value to set.

Returns:

the ContactParameters object itself.

Applies to