Class KeyVaultLastAccessStatusContractProperties


  • public final class KeyVaultLastAccessStatusContractProperties
    extends Object
    Issue contract Update Properties.
    • Constructor Detail

      • KeyVaultLastAccessStatusContractProperties

        public KeyVaultLastAccessStatusContractProperties()
    • Method Detail

      • code

        public String code()
        Get the code property: Last status code for sync and refresh of secret from key vault.
        Returns:
        the code value.
      • withCode

        public KeyVaultLastAccessStatusContractProperties withCode​(String code)
        Set the code property: Last status code for sync and refresh of secret from key vault.
        Parameters:
        code - the code value to set.
        Returns:
        the KeyVaultLastAccessStatusContractProperties object itself.
      • message

        public String message()
        Get the message property: Details of the error else empty.
        Returns:
        the message value.
      • withMessage

        public KeyVaultLastAccessStatusContractProperties withMessage​(String message)
        Set the message property: Details of the error else empty.
        Parameters:
        message - the message value to set.
        Returns:
        the KeyVaultLastAccessStatusContractProperties object itself.
      • timestampUtc

        public OffsetDateTime timestampUtc()
        Get the timestampUtc property: Last time secret was accessed. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
        Returns:
        the timestampUtc value.
      • withTimestampUtc

        public KeyVaultLastAccessStatusContractProperties withTimestampUtc​(OffsetDateTime timestampUtc)
        Set the timestampUtc property: Last time secret was accessed. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
        Parameters:
        timestampUtc - the timestampUtc value to set.
        Returns:
        the KeyVaultLastAccessStatusContractProperties object itself.
      • validate

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