Class RegenerateKeyParameters


  • public final class RegenerateKeyParameters
    extends Object
    Regenerate access keys request Specifies which access keys to reset to a new random value.
    • Constructor Detail

      • RegenerateKeyParameters

        public RegenerateKeyParameters()
    • Method Detail

      • keyType

        public AccessKeyType keyType()
        Get the keyType property: Which access key to regenerate.
        Returns:
        the keyType value.
      • withKeyType

        public RegenerateKeyParameters withKeyType​(AccessKeyType keyType)
        Set the keyType property: Which access key to regenerate.
        Parameters:
        keyType - the keyType value to set.
        Returns:
        the RegenerateKeyParameters object itself.
      • validate

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