toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GreenFleetProvisioningAction.discoverExisting:
      return 'DISCOVER_EXISTING';
    case GreenFleetProvisioningAction.copyAutoScalingGroup:
      return 'COPY_AUTO_SCALING_GROUP';
  }
}