Compartilhar via


ManagedClusterPodIdentityProvisioningError Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterPodIdentityProvisioningError

Implements

public final class ManagedClusterPodIdentityProvisioningError
implements JsonSerializable<ManagedClusterPodIdentityProvisioningError>

An error response from the pod identity provisioning.

Constructor Summary

Constructor Description
ManagedClusterPodIdentityProvisioningError()

Creates an instance of ManagedClusterPodIdentityProvisioningError class.

Method Summary

Modifier and Type Method and Description
ManagedClusterPodIdentityProvisioningErrorBody error()

Get the error property: Details about the error.

static ManagedClusterPodIdentityProvisioningError fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterPodIdentityProvisioningError from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterPodIdentityProvisioningError withError(ManagedClusterPodIdentityProvisioningErrorBody error)

Set the error property: Details about the error.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterPodIdentityProvisioningError

public ManagedClusterPodIdentityProvisioningError()

Creates an instance of ManagedClusterPodIdentityProvisioningError class.

Method Details

error

public ManagedClusterPodIdentityProvisioningErrorBody error()

Get the error property: Details about the error.

Returns:

the error value.

fromJson

public static ManagedClusterPodIdentityProvisioningError fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterPodIdentityProvisioningError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ManagedClusterPodIdentityProvisioningError.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withError

public ManagedClusterPodIdentityProvisioningError withError(ManagedClusterPodIdentityProvisioningErrorBody error)

Set the error property: Details about the error.

Parameters:

error - the error value to set.

Returns:

the ManagedClusterPodIdentityProvisioningError object itself.

Applies to