Class ServerKeyInner


  • public class ServerKeyInner
    extends com.azure.core.management.ProxyResource
    A server key.
    • Constructor Detail

      • ServerKeyInner

        public ServerKeyInner()
    • Method Detail

      • kind

        public String kind()
        Get the kind property: Kind of encryption protector. This is metadata used for the Azure portal experience.
        Returns:
        the kind value.
      • withKind

        public ServerKeyInner withKind​(String kind)
        Set the kind property: Kind of encryption protector. This is metadata used for the Azure portal experience.
        Parameters:
        kind - the kind value to set.
        Returns:
        the ServerKeyInner object itself.
      • location

        public String location()
        Get the location property: Resource location.
        Returns:
        the location value.
      • subregion

        public String subregion()
        Get the subregion property: Subregion of the server key.
        Returns:
        the subregion value.
      • serverKeyType

        public ServerKeyType serverKeyType()
        Get the serverKeyType property: The server key type like 'ServiceManaged', 'AzureKeyVault'.
        Returns:
        the serverKeyType value.
      • withServerKeyType

        public ServerKeyInner withServerKeyType​(ServerKeyType serverKeyType)
        Set the serverKeyType property: The server key type like 'ServiceManaged', 'AzureKeyVault'.
        Parameters:
        serverKeyType - the serverKeyType value to set.
        Returns:
        the ServerKeyInner object itself.
      • uri

        public String uri()
        Get the uri property: The URI of the server key.
        Returns:
        the uri value.
      • withUri

        public ServerKeyInner withUri​(String uri)
        Set the uri property: The URI of the server key.
        Parameters:
        uri - the uri value to set.
        Returns:
        the ServerKeyInner object itself.
      • thumbprint

        public String thumbprint()
        Get the thumbprint property: Thumbprint of the server key.
        Returns:
        the thumbprint value.
      • withThumbprint

        public ServerKeyInner withThumbprint​(String thumbprint)
        Set the thumbprint property: Thumbprint of the server key.
        Parameters:
        thumbprint - the thumbprint value to set.
        Returns:
        the ServerKeyInner object itself.
      • creationDate

        public OffsetDateTime creationDate()
        Get the creationDate property: The server key creation date.
        Returns:
        the creationDate value.
      • withCreationDate

        public ServerKeyInner withCreationDate​(OffsetDateTime creationDate)
        Set the creationDate property: The server key creation date.
        Parameters:
        creationDate - the creationDate value to set.
        Returns:
        the ServerKeyInner object itself.
      • validate

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