toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DirectConnectGatewayAttachmentState.attaching:
      return 'attaching';
    case DirectConnectGatewayAttachmentState.attached:
      return 'attached';
    case DirectConnectGatewayAttachmentState.detaching:
      return 'detaching';
    case DirectConnectGatewayAttachmentState.detached:
      return 'detached';
  }
}