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