Class ManagedAppDiagnosticStatus

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class ManagedAppDiagnosticStatus
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents diagnostics status.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • mitigationInstruction

        protected String mitigationInstruction
      • state

        protected String state
      • validationName

        protected String validationName
    • Constructor Detail

      • ManagedAppDiagnosticStatus

        protected ManagedAppDiagnosticStatus()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getMitigationInstruction

        public Optional<String> getMitigationInstruction()
        “Instruction on how to mitigate a failed validation”
        Returns:
        property mitigationInstruction
      • withMitigationInstruction

        public ManagedAppDiagnosticStatus withMitigationInstruction​(String mitigationInstruction)
        Returns an immutable copy of this with just the mitigationInstruction field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Instruction on how to mitigate a failed validation”

        Parameters:
        mitigationInstruction - new value of mitigationInstruction field (as defined in service metadata)
        Returns:
        immutable copy of this with just the mitigationInstruction field changed
      • getState

        public Optional<String> getState()
        “The state of the operation”
        Returns:
        property state
      • withState

        public ManagedAppDiagnosticStatus withState​(String state)
        Returns an immutable copy of this with just the state field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The state of the operation”

        Parameters:
        state - new value of state field (as defined in service metadata)
        Returns:
        immutable copy of this with just the state field changed
      • getValidationName

        public Optional<String> getValidationName()
        “The validation friendly name”
        Returns:
        property validationName
      • withValidationName

        public ManagedAppDiagnosticStatus withValidationName​(String validationName)
        Returns an immutable copy of this with just the validationName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “The validation friendly name”

        Parameters:
        validationName - new value of validationName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the validationName field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static ManagedAppDiagnosticStatus.Builder builder()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class