共用方式為


AuthorizedGroundstation Class

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

Implements

public final class AuthorizedGroundstation
implements JsonSerializable<AuthorizedGroundstation>

Authorized groundstation.

Constructor Summary

Constructor Description
AuthorizedGroundstation()

Creates an instance of AuthorizedGroundstation class.

Method Summary

Modifier and Type Method and Description
LocalDate expirationDate()

Get the expirationDate property: Date of authorization expiration.

static AuthorizedGroundstation fromJson(JsonReader jsonReader)

Reads an instance of AuthorizedGroundstation from the JsonReader.

String groundStation()

Get the groundStation property: Groundstation name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AuthorizedGroundstation withExpirationDate(LocalDate expirationDate)

Set the expirationDate property: Date of authorization expiration.

AuthorizedGroundstation withGroundStation(String groundStation)

Set the groundStation property: Groundstation name.

Methods inherited from java.lang.Object

Constructor Details

AuthorizedGroundstation

public AuthorizedGroundstation()

Creates an instance of AuthorizedGroundstation class.

Method Details

expirationDate

public LocalDate expirationDate()

Get the expirationDate property: Date of authorization expiration.

Returns:

the expirationDate value.

fromJson

public static AuthorizedGroundstation fromJson(JsonReader jsonReader)

Reads an instance of AuthorizedGroundstation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AuthorizedGroundstation 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.

groundStation

public String groundStation()

Get the groundStation property: Groundstation name.

Returns:

the groundStation value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withExpirationDate

public AuthorizedGroundstation withExpirationDate(LocalDate expirationDate)

Set the expirationDate property: Date of authorization expiration.

Parameters:

expirationDate - the expirationDate value to set.

Returns:

the AuthorizedGroundstation object itself.

withGroundStation

public AuthorizedGroundstation withGroundStation(String groundStation)

Set the groundStation property: Groundstation name.

Parameters:

groundStation - the groundStation value to set.

Returns:

the AuthorizedGroundstation object itself.

Applies to