Class RegenerateEndpointKeysRequest


  • public final class RegenerateEndpointKeysRequest
    extends Object
    The RegenerateEndpointKeysRequest model.
    • Constructor Detail

      • RegenerateEndpointKeysRequest

        public RegenerateEndpointKeysRequest()
    • Method Detail

      • keyType

        public KeyType keyType()
        Get the keyType property: [Required] Specification for which type of key to generate. Primary or Secondary.
        Returns:
        the keyType value.
      • withKeyType

        public RegenerateEndpointKeysRequest withKeyType​(KeyType keyType)
        Set the keyType property: [Required] Specification for which type of key to generate. Primary or Secondary.
        Parameters:
        keyType - the keyType value to set.
        Returns:
        the RegenerateEndpointKeysRequest object itself.
      • keyValue

        public String keyValue()
        Get the keyValue property: The value the key is set to.
        Returns:
        the keyValue value.
      • withKeyValue

        public RegenerateEndpointKeysRequest withKeyValue​(String keyValue)
        Set the keyValue property: The value the key is set to.
        Parameters:
        keyValue - the keyValue value to set.
        Returns:
        the RegenerateEndpointKeysRequest object itself.
      • validate

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