Class ManagedClusterPodIdentityProvisioningErrorBody


  • public final class ManagedClusterPodIdentityProvisioningErrorBody
    extends Object
    An error response from the pod identity provisioning.
    • Constructor Detail

      • ManagedClusterPodIdentityProvisioningErrorBody

        public ManagedClusterPodIdentityProvisioningErrorBody()
    • Method Detail

      • code

        public String code()
        Get the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        Returns:
        the code value.
      • 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:
        code - the code value to set.
        Returns:
        the ManagedClusterPodIdentityProvisioningErrorBody object itself.
      • message

        public String message()
        Get the message property: A message describing the error, intended to be suitable for display in a user interface.
        Returns:
        the message value.
      • 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:
        message - the message value to set.
        Returns:
        the ManagedClusterPodIdentityProvisioningErrorBody object itself.
      • target

        public String target()
        Get the target property: The target of the particular error. For example, the name of the property in error.
        Returns:
        the target value.
      • 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:
        target - the target value to set.
        Returns:
        the ManagedClusterPodIdentityProvisioningErrorBody object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.