toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CustomerGatewayAssociationState.pending:
      return 'PENDING';
    case CustomerGatewayAssociationState.available:
      return 'AVAILABLE';
    case CustomerGatewayAssociationState.deleting:
      return 'DELETING';
    case CustomerGatewayAssociationState.deleted:
      return 'DELETED';
  }
}