ManagedClusterPodIdentityProvisioningErrorBody Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterPodIdentityProvisioningErrorBody
- com.
Implements
public final class ManagedClusterPodIdentityProvisioningErrorBody
implements JsonSerializable<ManagedClusterPodIdentityProvisioningErrorBody>
An error response from the pod identity provisioning.
Constructor | Description |
---|---|
Managed |
Creates an instance of Managed |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: An identifier for the error. |
List<Managed |
details()
Get the details property: A list of additional details about the error. |
static
Managed |
from Reads an instance of Managed |
String |
message()
Get the message property: A message describing the error, intended to be suitable for display in a user interface. |
String |
target()
Get the target property: The target of the particular error. |
Json |
to |
void |
validate()
Validates the instance. |
Managed |
with Set the code property: An identifier for the error. |
Managed |
with Set the details property: A list of additional details about the error. |
Managed |
with Set the message property: A message describing the error, intended to be suitable for display in a user interface. |
Managed |
with Set the target property: The target of the particular error. |
Methods inherited from java.lang.Object
ManagedClusterPodIdentityProvisioningErrorBody
public ManagedClusterPodIdentityProvisioningErrorBody()
Creates an instance of ManagedClusterPodIdentityProvisioningErrorBody class.
code
public String code()
Get the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Returns:
details
public List
Get the details property: A list of additional details about the error.
Returns:
fromJson
public static ManagedClusterPodIdentityProvisioningErrorBody fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterPodIdentityProvisioningErrorBody from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: A message describing the error, intended to be suitable for display in a user interface.
Returns:
target
public String target()
Get the target property: The target of the particular error. For example, the name of the property in error.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCode
public ManagedClusterPodIdentityProvisioningErrorBody withCode(String code)
Set the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Parameters:
Returns:
withDetails
public ManagedClusterPodIdentityProvisioningErrorBody withDetails(List
Set the details property: A list of additional details about the error.
Parameters:
Returns:
withMessage
public ManagedClusterPodIdentityProvisioningErrorBody withMessage(String message)
Set the message property: A message describing the error, intended to be suitable for display in a user interface.
Parameters:
Returns:
withTarget
public ManagedClusterPodIdentityProvisioningErrorBody withTarget(String target)
Set the target property: The target of the particular error. For example, the name of the property in error.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: