SandboxGroupAccessTokenInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.fluent.models.SandboxGroupAccessTokenInner

Implements

public final class SandboxGroupAccessTokenInner
implements JsonSerializable<SandboxGroupAccessTokenInner>

The result of getting an access token for a SandboxGroup.

Method Summary

Modifier and Type Method and Description
String accessToken()

Get the accessToken property: The access token used to authenticate against the endpoint.

String endpoint()

Get the endpoint property: The endpoint URL to use with the access token.

static SandboxGroupAccessTokenInner fromJson(JsonReader jsonReader)

Reads an instance of SandboxGroupAccessTokenInner from the JsonReader.

OffsetDateTime notAfter()

Get the notAfter property: The UTC date and time at which the access token expires.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

accessToken

public String accessToken()

Get the accessToken property: The access token used to authenticate against the endpoint.

Returns:

the accessToken value.

endpoint

public String endpoint()

Get the endpoint property: The endpoint URL to use with the access token.

Returns:

the endpoint value.

fromJson

public static SandboxGroupAccessTokenInner fromJson(JsonReader jsonReader)

Reads an instance of SandboxGroupAccessTokenInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

notAfter

public OffsetDateTime notAfter()

Get the notAfter property: The UTC date and time at which the access token expires.

Returns:

the notAfter value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to