toValue method
Implementation
String toValue() {
switch (this) {
case DeliveryStreamFailureType.retireKmsGrantFailed:
return 'RETIRE_KMS_GRANT_FAILED';
case DeliveryStreamFailureType.createKmsGrantFailed:
return 'CREATE_KMS_GRANT_FAILED';
case DeliveryStreamFailureType.kmsAccessDenied:
return 'KMS_ACCESS_DENIED';
case DeliveryStreamFailureType.disabledKmsKey:
return 'DISABLED_KMS_KEY';
case DeliveryStreamFailureType.invalidKmsKey:
return 'INVALID_KMS_KEY';
case DeliveryStreamFailureType.kmsKeyNotFound:
return 'KMS_KEY_NOT_FOUND';
case DeliveryStreamFailureType.kmsOptInRequired:
return 'KMS_OPT_IN_REQUIRED';
case DeliveryStreamFailureType.createEniFailed:
return 'CREATE_ENI_FAILED';
case DeliveryStreamFailureType.deleteEniFailed:
return 'DELETE_ENI_FAILED';
case DeliveryStreamFailureType.subnetNotFound:
return 'SUBNET_NOT_FOUND';
case DeliveryStreamFailureType.securityGroupNotFound:
return 'SECURITY_GROUP_NOT_FOUND';
case DeliveryStreamFailureType.eniAccessDenied:
return 'ENI_ACCESS_DENIED';
case DeliveryStreamFailureType.subnetAccessDenied:
return 'SUBNET_ACCESS_DENIED';
case DeliveryStreamFailureType.securityGroupAccessDenied:
return 'SECURITY_GROUP_ACCESS_DENIED';
case DeliveryStreamFailureType.unknownError:
return 'UNKNOWN_ERROR';
}
}